浏览代码

remove unused variable

Robert Maynard 3 年之前
父节点
当前提交
6eda92d037
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      Source/cmNinjaNormalTargetGenerator.cxx

+ 0 - 1
Source/cmNinjaNormalTargetGenerator.cxx

@@ -537,7 +537,6 @@ std::vector<std::string> cmNinjaNormalTargetGenerator::ComputeDeviceLinkCmd()
   // this target requires separable cuda compilation
   // this target requires separable cuda compilation
   // now build the correct command depending on if the target is
   // now build the correct command depending on if the target is
   // an executable or a dynamic library.
   // an executable or a dynamic library.
-  std::string linkCmd;
   switch (this->GetGeneratorTarget()->GetType()) {
   switch (this->GetGeneratorTarget()->GetType()) {
     case cmStateEnums::STATIC_LIBRARY:
     case cmStateEnums::STATIC_LIBRARY:
     case cmStateEnums::SHARED_LIBRARY:
     case cmStateEnums::SHARED_LIBRARY: