Permalink
Browse files

Warn about uninitialized variables on all configurations now that Deb…

…ug builds support it
  • Loading branch information...
jspahrsummers committed Jul 29, 2012
1 parent b69d84b commit d1ecf082ffce13b7501eee8a64f6fcaebe5ef2d4
Showing with 3 additions and 3 deletions.
  1. +3 −0 Base/Common.xcconfig
  2. +0 −3 Base/Configurations/Release.xcconfig
View
@@ -100,6 +100,9 @@ GCC_WARN_SIGN_COMPARE = YES
// the format specifiers
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES
+// Whether to warn about variables that are not initialized before being used
+GCC_WARN_UNINITIALIZED_AUTOS = YES
+
// Whether to warn about static functions that are unused
GCC_WARN_UNUSED_FUNCTION = YES
@@ -18,9 +18,6 @@ GCC_OPTIMIZATION_LEVEL = s
// Preproccessor definitions to apply to each file compiled
GCC_PREPROCESSOR_DEFINITIONS = NDEBUG=1 NS_BLOCK_ASSERTIONS=1
-// Whether to warn about variables that are used without initialization
-GCC_WARN_UNINITIALIZED_AUTOS = YES
-
// Whether to enable link-time optimizations (such as inlining across translation
// units)
LLVM_LTO = NO

0 comments on commit d1ecf08

Please sign in to comment.