1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-18 17:31:57 +08:00

Rename variables to remove warnings

This commit is contained in:
Andy Cedilnik
2002-10-17 10:51:23 -04:00
parent a465ee3c6b
commit c3007233ec
8 changed files with 259 additions and 259 deletions

View File

@@ -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 != "")