diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-04-25 13:59:59 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-04-25 13:59:59 (GMT) |
commit | 26d4dd174f7f00a56a967dfc6e7feeb563143936 (patch) | |
tree | d9fa63250463a4bee37c420c42b251012b9955dc /Source/cmLocalGenerator.cxx | |
parent | 3a928c027c1888ca973c98629ee53923bca0bd9a (diff) | |
download | CMake-26d4dd174f7f00a56a967dfc6e7feeb563143936.zip CMake-26d4dd174f7f00a56a967dfc6e7feeb563143936.tar.gz CMake-26d4dd174f7f00a56a967dfc6e7feeb563143936.tar.bz2 |
COMP: Remove warning
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 8de4ad6..ff64a01 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -130,14 +130,14 @@ void cmLocalGenerator::GenerateTestFiles() fout << "ADD_TEST("; fout << test->GetName() << " \"" << test->GetCommand() << "\""; - std::vector<cmStdString>::iterator it; - for (it = test->GetArguments().begin(); - it != test->GetArguments().end(); ++it) + std::vector<cmStdString>::iterator argit; + for (argit = test->GetArguments().begin(); + argit != test->GetArguments().end(); ++argit) { // Just double-quote all arguments so they are re-parsed // correctly by the test system. fout << " \""; - for(std::string::iterator c = it->begin(); c != it->end(); ++c) + for(std::string::iterator c = argit->begin(); c != argit->end(); ++c) { // Escape quotes within arguments. We should escape // backslashes too but we cannot because it makes the result |