summaryrefslogtreecommitdiffstats
path: root/Source/cmFindProgramCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-17 14:51:23 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-17 14:51:23 (GMT)
commitc3007233ec8fc164a1e5de539bebdeb11cae3d8c (patch)
tree7e6222c18c3848e5eaf322e3c5f8d9244768c577 /Source/cmFindProgramCommand.cxx
parenta465ee3c6bcca6da501cc1499f17ca192b908927 (diff)
downloadCMake-c3007233ec8fc164a1e5de539bebdeb11cae3d8c.zip
CMake-c3007233ec8fc164a1e5de539bebdeb11cae3d8c.tar.gz
CMake-c3007233ec8fc164a1e5de539bebdeb11cae3d8c.tar.bz2
Rename variables to remove warnings
Diffstat (limited to 'Source/cmFindProgramCommand.cxx')
-rw-r--r--Source/cmFindProgramCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmFindProgramCommand.cxx b/Source/cmFindProgramCommand.cxx
index 8782fc3..0667d71 100644
--- a/Source/cmFindProgramCommand.cxx
+++ b/Source/cmFindProgramCommand.cxx
@@ -125,11 +125,11 @@ bool cmFindProgramCommand::InitialPass(std::vector<std::string> const& argsIn)
cmSystemTools::GlobDirs(exp.c_str(), path);
}
}
- for(std::vector<std::string>::iterator i = names.begin();
- i != names.end() ; ++i)
+ for(std::vector<std::string>::iterator it = names.begin();
+ it != names.end() ; ++it)
{
// Try to find the program.
- std::string result = cmSystemTools::FindProgram(i->c_str(),
+ std::string result = cmSystemTools::FindProgram(it->c_str(),
path,
no_system_path);
if(result != "")