From dbbfe5d07052e40f7174a660439174a0dacbe2ed Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Wed, 16 Jan 2013 13:16:27 +0400 Subject: [PATCH] Enable -Wunused-but-set-variable flag by default. Signed-off-by: Andrew Borodin --- m4.include/mc-cflags.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4.include/mc-cflags.m4 b/m4.include/mc-cflags.m4 index 6d250cb26..e3f7d9afc 100644 --- a/m4.include/mc-cflags.m4 +++ b/m4.include/mc-cflags.m4 @@ -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])