summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-12-18 08:27:29 +0100
committerLubomir Rintel <lkundrak@v3.sk>2017-12-18 13:29:32 +0100
commite912b36d95a3c26a6021eeb27e663bd05910a9b4 (patch)
treee18e8bde9472c20dc64292d82ddcf035b6d67d2f /m4
parent6672c5e92ea593db2fa58e42992714aebf315831 (diff)
downloadNetworkManager-e912b36d95a3c26a6021eeb27e663bd05910a9b4.tar.gz
build: enable unused-but-set warning
It was disabled for shady reasons (not checking write() return value) that are long gone. Worse even, it hid some real bugs.
Diffstat (limited to 'm4')
-rw-r--r--m4/compiler_options.m41
1 files changed, 0 insertions, 1 deletions
diff --git a/m4/compiler_options.m4 b/m4/compiler_options.m4
index c0b07e5b4b..b96e3503fa 100644
--- a/m4/compiler_options.m4
+++ b/m4/compiler_options.m4
@@ -86,7 +86,6 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
-Wno-missing-field-initializers \
-Wno-pragmas \
-Wno-sign-compare \
- -Wno-unused-but-set-variable \
-Wno-unused-parameter \
; do
dnl GCC 4.4 does not warn when checking for -Wno-* flags (https://gcc.gnu.org/wiki/FAQ#wnowarning)