From f28f1585f663314648e608e5f156d22d7b1e5811 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 1 Feb 2008 08:55:41 -0500 Subject: [PATCH] COMP: Fix shadowed local warning. --- Source/cmTarget.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index b484a95d6..ef2fde5da 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.