Skip to content

cmGlobalXCodeGenerator: Avoid -Wconditional-uninitialized warning

Brad King requested to merge brad.king/cmake:xcode-gen-warning into master

Clang incorrectly warns about a case where we initialize a variable inside a condition in such a way that it will always be initialized before we use it. Simply initialize the variable when defining it to silence the warning.

Merge request reports