mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
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).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user