[cmake-commits] king committed cmTarget.cxx 1.188 1.189

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Feb 1 08:55:44 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv31342

Modified Files:
	cmTarget.cxx 
Log Message:
COMP: Fix shadowed local warning.


Index: cmTarget.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTarget.cxx,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -d -r1.188 -r1.189
--- cmTarget.cxx	31 Jan 2008 20:45:31 -0000	1.188
+++ cmTarget.cxx	1 Feb 2008 13:55:41 -0000	1.189
@@ -3207,10 +3207,10 @@
       }
 
     // Construct the list of libs linked for this configuration.
-    cmTarget::LinkLibraryVectorType const& libs =
+    cmTarget::LinkLibraryVectorType const& llibs =
       this->GetOriginalLinkLibraries();
-    for(cmTarget::LinkLibraryVectorType::const_iterator li = libs.begin();
-        li != libs.end(); ++li)
+    for(cmTarget::LinkLibraryVectorType::const_iterator li = llibs.begin();
+        li != llibs.end(); ++li)
       {
       // Skip entries that will resolve to the target itself, are empty,
       // or are not meant for this configuration.



More information about the Cmake-commits mailing list