ENH: remove warnings in tests

This commit is contained in:
Bill Hoffman 2004-05-02 11:50:14 -04:00
parent a37157624b
commit ee9f925509
3 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
void OneFunc(); void OneFunc();
void NoDepZ_func();
void TwoFunc() void TwoFunc()
{ {

View File

@ -13,7 +13,7 @@ typedef struct
static int InitialPass(void *inf, void *mf, int argc, char *argv[]) static int InitialPass(void *inf, void *mf, int argc, char *argv[])
{ {
char* file; char* file;
char* str; const char* str;
char buffer[1024]; char buffer[1024];
void *source_file; void *source_file;
cmLoadedCommandInfo *info = (cmLoadedCommandInfo *)inf; cmLoadedCommandInfo *info = (cmLoadedCommandInfo *)inf;

View File

@ -13,7 +13,7 @@ typedef struct
static int InitialPass(void *inf, void *mf, int argc, char *argv[]) static int InitialPass(void *inf, void *mf, int argc, char *argv[])
{ {
char* file; char* file;
char* str; const char* str;
char buffer[1024]; char buffer[1024];
void *source_file; void *source_file;
cmLoadedCommandInfo *info = (cmLoadedCommandInfo *)inf; cmLoadedCommandInfo *info = (cmLoadedCommandInfo *)inf;