mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03: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 parent
98f23da8df
commit
fd6c452986
1 file changed
+1
-6
+1
-6
@@ -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