[cmake-commits] king committed cmGlobalXCodeGenerator.cxx 1.157 1.158
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon May 28 13:46:12 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv2010
Modified Files:
cmGlobalXCodeGenerator.cxx
Log Message:
COMP: Fixed shadowed local warning.
Index: cmGlobalXCodeGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.cxx,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -d -r1.157 -r1.158
--- cmGlobalXCodeGenerator.cxx 28 May 2007 15:16:50 -0000 1.157
+++ cmGlobalXCodeGenerator.cxx 28 May 2007 17:46:10 -0000 1.158
@@ -2067,11 +2067,11 @@
headersVec);
cmCustomCommandLines commandLines;
std::vector<std::string> depends;
- for(std::vector<std::string>::iterator i = headersVec.begin();
- i != headersVec.end(); ++i)
+ for(std::vector<std::string>::iterator h = headersVec.begin();
+ h != headersVec.end(); ++i)
{
cmSourceFile* sf
- = this->CurrentMakefile->GetOrCreateSource(i->c_str());
+ = this->CurrentMakefile->GetOrCreateSource(h->c_str());
classes.push_back(sf);
}
}
More information about the Cmake-commits
mailing list