summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-30 17:25:37 (GMT)
committerBrad King <brad.king@kitware.com>2017-05-30 17:27:31 (GMT)
commitb398e716f990a39ae1b47246c181a7d20a7c2f0e (patch)
tree77cc534b7d62079827f3c3690060fb05486b3646 /Source
parentda2330bd32860b87448e420b3b27066076a87a21 (diff)
downloadCMake-b398e716f990a39ae1b47246c181a7d20a7c2f0e.zip
CMake-b398e716f990a39ae1b47246c181a7d20a7c2f0e.tar.gz
CMake-b398e716f990a39ae1b47246c181a7d20a7c2f0e.tar.bz2
cmVisualStudio10TargetGenerator: Remove shadowing local variable
Diffstat (limited to 'Source')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 0 insertions, 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<cmGlobalVisualStudio10Generator*>(this->GlobalGenerator);
const char* toolset = gg->GetPlatformToolset();
if (toolset &&
(toolset == kWINDOWS_7_1_SDK || /* clang-format please break here */