Commit e912b36d authored by Lubomir Rintel's avatar Lubomir Rintel 🥕

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.
parent 6672c5e9
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment