mirror of
https://github.com/reactos/CMake.git
synced 2025-02-02 01:55:03 +00:00
cmVisualStudio10TargetGenerator: Remove shadowing local variable
This commit is contained in:
parent
da2330bd32
commit
b398e716f9
@ -3154,8 +3154,6 @@ bool cmVisualStudio10TargetGenerator::ComputeLinkOptions(
|
|||||||
// FIXME: Select flag table based on toolset instead of VS version.
|
// FIXME: Select flag table based on toolset instead of VS version.
|
||||||
if (this->LocalGenerator->GetVersion() >=
|
if (this->LocalGenerator->GetVersion() >=
|
||||||
cmGlobalVisualStudioGenerator::VS14) {
|
cmGlobalVisualStudioGenerator::VS14) {
|
||||||
cmGlobalVisualStudio10Generator* gg =
|
|
||||||
static_cast<cmGlobalVisualStudio10Generator*>(this->GlobalGenerator);
|
|
||||||
const char* toolset = gg->GetPlatformToolset();
|
const char* toolset = gg->GetPlatformToolset();
|
||||||
if (toolset &&
|
if (toolset &&
|
||||||
(toolset == kWINDOWS_7_1_SDK || /* clang-format please break here */
|
(toolset == kWINDOWS_7_1_SDK || /* clang-format please break here */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user