Merge pull request #116 from olerem/warnings-2016.11.26
[open-ath9k-htc-firmware.git] / target_firmware / CMakeLists.txt
index db31dc471eef82763e13f312999e501fb5bff6c9..73cb9301776203b1ae4ed7b00d6e3cbbb328e076 100644 (file)
@@ -40,7 +40,17 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
 PROJECT(ath9k_firmware NONE)
 ENABLE_LANGUAGE(C)
 
-ADD_DEFINITIONS(-g -Os -Wunused-label -Wunused-variable -Wunused-value -Wpointer-arith -Wundef -nostdlib -Wundef)
+ADD_DEFINITIONS(
+       -g -Os
+       -Wunused-label
+       -Wunused-variable
+       -Wunused-value
+       -Wpointer-arith
+       -nostdlib
+       -Wundef
+       -Wunused-but-set-variable
+       -Wmaybe-uninitialized
+)
 ADD_DEFINITIONS(
        -D_RAM_
        -DBIG_ENDIAN -D_BYTE_ORDER=_BIG_ENDIAN