From b398e716f990a39ae1b47246c181a7d20a7c2f0e Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 30 May 2017 13:25:37 -0400 Subject: cmVisualStudio10TargetGenerator: Remove shadowing local variable --- Source/cmVisualStudio10TargetGenerator.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index e174f13..46c2894 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/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(this->GlobalGenerator); const char* toolset = gg->GetPlatformToolset(); if (toolset && (toolset == kWINDOWS_7_1_SDK || /* clang-format please break here */ -- cgit v0.12