diff options
author | Brad King <brad.king@kitware.com> | 2008-02-01 13:55:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-01 13:55:41 (GMT) |
commit | f28f1585f663314648e608e5f156d22d7b1e5811 (patch) | |
tree | 7cc0dade52abef55b271635db69645e643e01f9c | |
parent | 6223f3f7639d920c9fce72cc2e554eb221353408 (diff) | |
download | CMake-f28f1585f663314648e608e5f156d22d7b1e5811.zip CMake-f28f1585f663314648e608e5f156d22d7b1e5811.tar.gz CMake-f28f1585f663314648e608e5f156d22d7b1e5811.tar.bz2 |
COMP: Fix shadowed local warning.
-rw-r--r-- | Source/cmTarget.cxx | 6 |
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. |