瀏覽代碼

C::B: Remove unused variables.

Stephen Kelly 10 年之前
父節點
當前提交
c72d276a5a
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      Source/cmExtraCodeBlocksGenerator.cxx

+ 0 - 2
Source/cmExtraCodeBlocksGenerator.cxx

@@ -693,8 +693,6 @@ std::string cmExtraCodeBlocksGenerator::GetCBCompilerId(const cmMakefile* mf)
     compilerIdVar = "CMAKE_C_COMPILER_ID";
     }
 
-  std::string hostSystemName = mf->GetSafeDefinition("CMAKE_HOST_SYSTEM_NAME");
-  std::string systemName = mf->GetSafeDefinition("CMAKE_SYSTEM_NAME");
   std::string compilerId = mf->GetSafeDefinition(compilerIdVar);
   std::string compiler = "gcc";  // default to gcc
   if (compilerId == "MSVC")