mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05: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:
+1
-6
@@ -721,12 +721,7 @@ void cmTarget::AddLinkLibrary(cmMakefile& mf, const std::string& lib,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
this->OriginalLinkLibraries.emplace_back(lib, llt);
|
||||||
cmTarget::LibraryID tmp;
|
|
||||||
tmp.first = lib;
|
|
||||||
tmp.second = llt;
|
|
||||||
this->OriginalLinkLibraries.emplace_back(lib, llt);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Add the explicit dependency information for libraries. This is
|
// Add the explicit dependency information for libraries. This is
|
||||||
// simply a set of libraries separated by ";". There should always
|
// simply a set of libraries separated by ";". There should always
|
||||||
|
|||||||
Reference in New Issue
Block a user