summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkLineDeviceComputer.cxx
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2022-04-22 18:32:18 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2022-07-13 14:25:10 (GMT)
commit4a552ab4ad181768fcbcb32a6c9ebf1383a8fe63 (patch)
tree3d9e1f5e0b0f8fddf87d9d3524d371a0fd747f51 /Source/cmLinkLineDeviceComputer.cxx
parent6eda92d037cf5a2780c5afa33611400fb9d03490 (diff)
downloadCMake-4a552ab4ad181768fcbcb32a6c9ebf1383a8fe63.zip
CMake-4a552ab4ad181768fcbcb32a6c9ebf1383a8fe63.tar.gz
CMake-4a552ab4ad181768fcbcb32a6c9ebf1383a8fe63.tar.bz2
remove unused variables
Diffstat (limited to 'Source/cmLinkLineDeviceComputer.cxx')
-rw-r--r--Source/cmLinkLineDeviceComputer.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmLinkLineDeviceComputer.cxx b/Source/cmLinkLineDeviceComputer.cxx
index 43f1b8e..719b834 100644
--- a/Source/cmLinkLineDeviceComputer.cxx
+++ b/Source/cmLinkLineDeviceComputer.cxx
@@ -57,7 +57,6 @@ bool cmLinkLineDeviceComputer::ComputeRequiresDeviceLinking(
// For this we only consider targets
using ItemVector = cmComputeLinkInformation::ItemVector;
ItemVector const& items = cli.GetItems();
- std::string config = cli.GetConfig();
return std::any_of(
items.begin(), items.end(),
[](cmComputeLinkInformation::Item const& item) -> bool {