summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-03-28 15:09:01 (GMT)
committerBrad King <brad.king@kitware.com>2018-03-28 15:09:56 (GMT)
commitfd6c452986af2e85a259813aa01d90d454c28d4b (patch)
treef97eaa230f0a1dae93aa3b1a3258bc69c91d7912 /Source/cmTarget.cxx
parent98f23da8dfe4d6bb90225de83476b6a958c3e284 (diff)
downloadCMake-fd6c452986af2e85a259813aa01d90d454c28d4b.zip
CMake-fd6c452986af2e85a259813aa01d90d454c28d4b.tar.gz
CMake-fd6c452986af2e85a259813aa01d90d454c28d4b.tar.bz2
cmTarget: Remove unused variable
Remove an unused variable and its containing local scope accidentally left by commit v3.11.0-rc1~44^2 (Reduce allocation of temporary values on heap, 2018-01-25).
Diffstat (limited to 'Source/cmTarget.cxx')
-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