Explorar o código

COMP: Fix shadowed local warning.

Brad King %!s(int64=17) %!d(string=hai) anos
pai
achega
f28f1585f6
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      Source/cmTarget.cxx

+ 3 - 3
Source/cmTarget.cxx

@@ -3207,10 +3207,10 @@ cmTargetLinkInterface* cmTarget::ComputeLinkInterface(const char* config)
       }
 
     // 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.