Преглед на файлове

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: