Fixed confusing else clause, added to coding standard.

This commit is contained in:
James Goppert
2015-09-12 15:47:23 -04:00
parent d7e69baf80
commit d4a16a68ac
2 changed files with 21 additions and 1 deletions
+1 -1
View File
@@ -510,7 +510,7 @@ function(px4_add_common_flags)
list(APPEND warnings
-Wno-unused-const-variable
)
else(${CMAKE_C_COMPILER_ID} STREQUAL "Clang")
else()
list(APPEND warnings
-Werror=unused-but-set-variable
-Wformat=1