summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-01 13:55:41 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-01 13:55:41 (GMT)
commitf28f1585f663314648e608e5f156d22d7b1e5811 (patch)
tree7cc0dade52abef55b271635db69645e643e01f9c /Source/cmTarget.cxx
parent6223f3f7639d920c9fce72cc2e554eb221353408 (diff)
downloadCMake-f28f1585f663314648e608e5f156d22d7b1e5811.zip
CMake-f28f1585f663314648e608e5f156d22d7b1e5811.tar.gz
CMake-f28f1585f663314648e608e5f156d22d7b1e5811.tar.bz2
COMP: Fix shadowed local warning.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index b484a95..ef2fde5 100644
--- a/Source/cmTarget.cxx
+++ b/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.