summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2022-04-20 16:00:57 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2022-07-13 14:25:10 (GMT)
commit6eda92d037cf5a2780c5afa33611400fb9d03490 (patch)
tree3077040ea882d8cac8438d062c16c65fbd119774 /Source
parent6a35e799fd8742fa875c304daed2784a1ce9d710 (diff)
downloadCMake-6eda92d037cf5a2780c5afa33611400fb9d03490.zip
CMake-6eda92d037cf5a2780c5afa33611400fb9d03490.tar.gz
CMake-6eda92d037cf5a2780c5afa33611400fb9d03490.tar.bz2
remove unused variable
Diffstat (limited to 'Source')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index d4f1608..42f0329 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -537,7 +537,6 @@ std::vector<std::string> cmNinjaNormalTargetGenerator::ComputeDeviceLinkCmd()
// this target requires separable cuda compilation
// now build the correct command depending on if the target is
// an executable or a dynamic library.
- std::string linkCmd;
switch (this->GetGeneratorTarget()->GetType()) {
case cmStateEnums::STATIC_LIBRARY:
case cmStateEnums::SHARED_LIBRARY: