diff options
author | Brad King <brad.king@kitware.com> | 2018-01-30 13:45:29 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-01-30 13:45:45 (GMT) |
commit | bb352337850ac2b47819aa1e25398133e916f10f (patch) | |
tree | 9215376df2fff6ec7291d83523b852b6f460a523 | |
parent | c6312835d5813fadf7dc818878d6c824bfece44b (diff) | |
parent | 20ca9d8f6f4ddd7b56829425950332d972efef11 (diff) | |
download | CMake-bb352337850ac2b47819aa1e25398133e916f10f.zip CMake-bb352337850ac2b47819aa1e25398133e916f10f.tar.gz CMake-bb352337850ac2b47819aa1e25398133e916f10f.tar.bz2 |
Merge topic 'xcode-gen-warning'
20ca9d8f cmGlobalXCodeGenerator: Avoid -Wconditional-uninitialized warning
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Sean McBride <sean@rogue-research.com>
Merge-request: !1714
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 9db21d8..7668fd0 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -176,7 +176,7 @@ cmGlobalGenerator* cmGlobalXCodeGenerator::Factory::CreateGlobalGenerator( std::string versionFile; { std::string out; - std::string::size_type pos; + std::string::size_type pos = 0; if (cmSystemTools::RunSingleCommand("xcode-select --print-path", &out, nullptr, nullptr, nullptr, cmSystemTools::OUTPUT_NONE) && |