mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-21 10:14:41 +00:00
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.
This commit is contained in:
parent
6672c5e92e
commit
e912b36d95
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue