diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-10-17 14:51:23 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-10-17 14:51:23 (GMT) |
commit | c3007233ec8fc164a1e5de539bebdeb11cae3d8c (patch) | |
tree | 7e6222c18c3848e5eaf322e3c5f8d9244768c577 /Source/cmFindProgramCommand.cxx | |
parent | a465ee3c6bcca6da501cc1499f17ca192b908927 (diff) | |
download | CMake-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.cxx | 6 |
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 != "") |