diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-06 14:16:22 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-06 14:16:22 (GMT) |
commit | 8d8d39524da03c6dd3cf2544e10048ac382c12bd (patch) | |
tree | 1a5c1aa9ee1952291e95f1a2df269c47724dc05b /Source/ctest.cxx | |
parent | d859ad258c25477aae52b0dac28ceb891ef0661d (diff) | |
download | CMake-8d8d39524da03c6dd3cf2544e10048ac382c12bd.zip CMake-8d8d39524da03c6dd3cf2544e10048ac382c12bd.tar.gz CMake-8d8d39524da03c6dd3cf2544e10048ac382c12bd.tar.bz2 |
ERR: Remove warning
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r-- | Source/ctest.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 1fe36a5..f0756ad 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -56,8 +56,8 @@ int main (int argc, char *argv[]) if( arg.find("-D",0) == 0 && i < args.size() - 1 ) { inst.m_DartMode = true; - std::string arg = args[i+1]; - if ( arg == "Experimental" ) + std::string targ = args[i+1]; + if ( targ == "Experimental" ) { inst.SetTestModel(cmCTest::EXPERIMENTAL); inst.SetTest("Start"); @@ -67,7 +67,7 @@ int main (int argc, char *argv[]) inst.SetTest("Coverage"); inst.SetTest("Submit"); } - else if ( arg == "Continuous" ) + else if ( targ == "Continuous" ) { inst.SetTestModel(cmCTest::CONTINUOUS); inst.SetTest("Start"); @@ -78,7 +78,7 @@ int main (int argc, char *argv[]) inst.SetTest("Coverage"); inst.SetTest("Submit"); } - else if ( arg == "Nightly" ) + else if ( targ == "Nightly" ) { inst.SetTestModel(cmCTest::NIGHTLY); inst.SetTest("Start"); @@ -89,7 +89,7 @@ int main (int argc, char *argv[]) inst.SetTest("Coverage"); inst.SetTest("Submit"); } - else if ( arg == "MemoryCheck" ) + else if ( targ == "MemoryCheck" ) { inst.SetTestModel(cmCTest::EXPERIMENTAL); inst.SetTest("Start"); @@ -99,7 +99,7 @@ int main (int argc, char *argv[]) inst.SetTest("Coverage"); inst.SetTest("Submit"); } - else if ( arg == "NightlyMemoryCheck" ) + else if ( targ == "NightlyMemoryCheck" ) { inst.SetTestModel(cmCTest::NIGHTLY); inst.SetTest("Start"); |