瀏覽代碼

COMP: Fix shadowed local warning.

Brad King 17 年之前
父節點
當前提交
f28f1585f6
共有 1 個文件被更改,包括 3 次插入3 次删除
  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.
     // Construct the list of libs linked for this configuration.
-    cmTarget::LinkLibraryVectorType const& libs =
+    cmTarget::LinkLibraryVectorType const& llibs =
       this->GetOriginalLinkLibraries();
       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,
       // Skip entries that will resolve to the target itself, are empty,
       // or are not meant for this configuration.
       // or are not meant for this configuration.