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:
@@ -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 != "")
|
||||
|
Reference in New Issue
Block a user