summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-11-14 16:22:34 (GMT)
committerBrad King <brad.king@kitware.com>2023-11-14 20:40:33 (GMT)
commit1814853081b871dc04e20e0debb2d41055e5cb5c (patch)
tree0603db1f74885a4bb9274b2838311caeec3267cb
parent377b78aef91576a1185b7a1742af9305986c435f (diff)
downloadCMake-1814853081b871dc04e20e0debb2d41055e5cb5c.zip
CMake-1814853081b871dc04e20e0debb2d41055e5cb5c.tar.gz
CMake-1814853081b871dc04e20e0debb2d41055e5cb5c.tar.bz2
cmCommonTargetGenerator: Drop unused local variable
-rw-r--r--Source/cmCommonTargetGenerator.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmCommonTargetGenerator.cxx b/Source/cmCommonTargetGenerator.cxx
index b13576a..23176df 100644
--- a/Source/cmCommonTargetGenerator.cxx
+++ b/Source/cmCommonTargetGenerator.cxx
@@ -171,7 +171,6 @@ std::vector<std::string> cmCommonTargetGenerator::GetLinkedTargetDirectories(
cmGlobalCommonGenerator* const gg = this->GlobalCommonGenerator;
if (cmComputeLinkInformation* cli =
this->GeneratorTarget->GetLinkInformation(config)) {
- std::vector<cmGeneratorTarget const*> targets;
for (auto const& item : cli->GetItems()) {
auto const* linkee = item.Target;
if (linkee &&