Explorar o código

remove unused variable

Robert Maynard %!s(int64=3) %!d(string=hai) anos
pai
achega
6eda92d037
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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
   // 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: