we can't just now use -Wall. So lets add them step by step.
-Wunused-but-set-variable seems to be a good start :)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
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
+ -Wundef
+ -nostdlib
+ -Wundef
+ -Wunused-but-set-variable
+)
ADD_DEFINITIONS(
-D_RAM_
-DBIG_ENDIAN -D_BYTE_ORDER=_BIG_ENDIAN