summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-04-25 13:59:59 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-04-25 13:59:59 (GMT)
commit26d4dd174f7f00a56a967dfc6e7feeb563143936 (patch)
treed9fa63250463a4bee37c420c42b251012b9955dc /Source/cmLocalGenerator.cxx
parent3a928c027c1888ca973c98629ee53923bca0bd9a (diff)
downloadCMake-26d4dd174f7f00a56a967dfc6e7feeb563143936.zip
CMake-26d4dd174f7f00a56a967dfc6e7feeb563143936.tar.gz
CMake-26d4dd174f7f00a56a967dfc6e7feeb563143936.tar.bz2
COMP: Remove warning
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx8
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