summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-03-29 14:16:55 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-03-29 14:17:18 (GMT)
commita03105ac8c821bd8a2fe269671b49862ae354db8 (patch)
treeae7f6e660620076f897a36d9ba9f4c3e71215ec0
parentcdc6dd888e3ee70e79f9bdd0f518ce19772eaee7 (diff)
parentfd6c452986af2e85a259813aa01d90d454c28d4b (diff)
downloadCMake-a03105ac8c821bd8a2fe269671b49862ae354db8.zip
CMake-a03105ac8c821bd8a2fe269671b49862ae354db8.tar.gz
CMake-a03105ac8c821bd8a2fe269671b49862ae354db8.tar.bz2
Merge topic 'remove-unused-variable'
fd6c452986 cmTarget: Remove unused variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1898
-rw-r--r--Source/cmTarget.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 6137223..231bd3b 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -721,12 +721,7 @@ void cmTarget::AddLinkLibrary(cmMakefile& mf, const std::string& lib,
return;
}
- {
- cmTarget::LibraryID tmp;
- tmp.first = lib;
- tmp.second = llt;
- this->OriginalLinkLibraries.emplace_back(lib, llt);
- }
+ this->OriginalLinkLibraries.emplace_back(lib, llt);
// Add the explicit dependency information for libraries. This is
// simply a set of libraries separated by ";". There should always