浏览代码

cmQtAutoGeneratorInitializer: Remove unused local variable

Brad King 8 年之前
父节点
当前提交
ed77c5c5bd
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      Source/cmQtAutoGeneratorInitializer.cxx

+ 0 - 2
Source/cmQtAutoGeneratorInitializer.cxx

@@ -790,8 +790,6 @@ void cmQtAutoGeneratorInitializer::InitializeAutogenTarget(
   bool usePRE_BUILD = false;
   cmGlobalGenerator* gg = lg->GetGlobalGenerator();
   if (gg->GetName().find("Visual Studio") != std::string::npos) {
-    cmGlobalVisualStudioGenerator* vsgg =
-      static_cast<cmGlobalVisualStudioGenerator*>(gg);
     // Under VS use a PRE_BUILD event instead of a separate target to
     // reduce the number of targets loaded into the IDE.
     // This also works around a VS 11 bug that may skip updating the target: