Enable -Wunused-but-set-variable flag by default.
authorAndrew Borodin <aborodin@vmail.ru>
Wed, 16 Jan 2013 09:16:27 +0000 (16 13:16 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Wed, 16 Jan 2013 10:34:34 +0000 (16 14:34 +0400)
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
m4.include/mc-cflags.m4

index 6d250cb..e3f7d9a 100644 (file)
@@ -73,7 +73,7 @@ dnl    MC_CHECK_ONE_CFLAG([-Wstrict-aliasing])
     MC_CHECK_ONE_CFLAG([-Wswitch])
     MC_CHECK_ONE_CFLAG([-Wtype-limits])
     MC_CHECK_ONE_CFLAG([-Wuninitialized])
-dnl    MC_CHECK_ONE_CFLAG([-Wunused-but-set-variable])
+    MC_CHECK_ONE_CFLAG([-Wunused-but-set-variable])
     MC_CHECK_ONE_CFLAG([-Wunused-function])
     MC_CHECK_ONE_CFLAG([-Wunused-label])
     MC_CHECK_ONE_CFLAG([-Wunused-parameter])