mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 14:20:16 +01:00
build: turn off set-but-not-used variable warnings in new GCC
This commit is contained in:
parent
1e3a6c1311
commit
398993e2f4
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
|
|||
for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \
|
||||
-Wdeclaration-after-statement -Wstrict-prototypes \
|
||||
-Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \
|
||||
-fno-strict-aliasing; do
|
||||
-fno-strict-aliasing -Wno-unused-but-set-variable; do
|
||||
SAVE_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS $option"
|
||||
AC_MSG_CHECKING([whether gcc understands $option])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue