diff options
author | Brad King <brad.king@kitware.com> | 2018-03-29 14:16:55 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-03-29 14:17:18 (GMT) |
commit | a03105ac8c821bd8a2fe269671b49862ae354db8 (patch) | |
tree | ae7f6e660620076f897a36d9ba9f4c3e71215ec0 | |
parent | cdc6dd888e3ee70e79f9bdd0f518ce19772eaee7 (diff) | |
parent | fd6c452986af2e85a259813aa01d90d454c28d4b (diff) | |
download | CMake-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.cxx | 7 |
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 |