diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-05-02 15:50:14 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-05-02 15:50:14 (GMT) |
commit | ee9f9255099e5de585ca88ae104a33522e6a4dd6 (patch) | |
tree | 30e4c0f987a265d5e49c973a4f29ea2f7a843b2d /Tests | |
parent | a37157624bb4a45185898cd0f512a753560de12a (diff) | |
download | CMake-ee9f9255099e5de585ca88ae104a33522e6a4dd6.zip CMake-ee9f9255099e5de585ca88ae104a33522e6a4dd6.tar.gz CMake-ee9f9255099e5de585ca88ae104a33522e6a4dd6.tar.bz2 |
ENH: remove warnings in tests
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/LinkLineOrder/Two.c | 1 | ||||
-rw-r--r-- | Tests/LoadCommand/CMakeCommands/cmTestCommand.c | 2 | ||||
-rw-r--r-- | Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Tests/LinkLineOrder/Two.c b/Tests/LinkLineOrder/Two.c index 794c023..6bffaa8 100644 --- a/Tests/LinkLineOrder/Two.c +++ b/Tests/LinkLineOrder/Two.c @@ -1,4 +1,5 @@ void OneFunc(); +void NoDepZ_func(); void TwoFunc() { diff --git a/Tests/LoadCommand/CMakeCommands/cmTestCommand.c b/Tests/LoadCommand/CMakeCommands/cmTestCommand.c index e7f8efe..cb3fe1f 100644 --- a/Tests/LoadCommand/CMakeCommands/cmTestCommand.c +++ b/Tests/LoadCommand/CMakeCommands/cmTestCommand.c @@ -13,7 +13,7 @@ typedef struct static int InitialPass(void *inf, void *mf, int argc, char *argv[]) { char* file; - char* str; + const char* str; char buffer[1024]; void *source_file; cmLoadedCommandInfo *info = (cmLoadedCommandInfo *)inf; diff --git a/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c b/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c index e7f8efe..cb3fe1f 100644 --- a/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c +++ b/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c @@ -13,7 +13,7 @@ typedef struct static int InitialPass(void *inf, void *mf, int argc, char *argv[]) { char* file; - char* str; + const char* str; char buffer[1024]; void *source_file; cmLoadedCommandInfo *info = (cmLoadedCommandInfo *)inf; |