Forráskód Böngészése

cmVisualStudio10TargetGenerator: Remove shadowing local variable

Brad King 8 éve
szülő
commit
b398e716f9
1 módosított fájl, 0 hozzáadás és 2 törlés
  1. 0 2
      Source/cmVisualStudio10TargetGenerator.cxx

+ 0 - 2
Source/cmVisualStudio10TargetGenerator.cxx

@@ -3154,8 +3154,6 @@ bool cmVisualStudio10TargetGenerator::ComputeLinkOptions(
   // FIXME: Select flag table based on toolset instead of VS version.
   if (this->LocalGenerator->GetVersion() >=
       cmGlobalVisualStudioGenerator::VS14) {
-    cmGlobalVisualStudio10Generator* gg =
-      static_cast<cmGlobalVisualStudio10Generator*>(this->GlobalGenerator);
     const char* toolset = gg->GetPlatformToolset();
     if (toolset &&
         (toolset == kWINDOWS_7_1_SDK || /* clang-format please break here */