build: Enable unused-but-set warning in meson

The unused-but-set warning has recently been enabled in autotools
(e912b36d95), so this also modifies
meson to enable it.

https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00063.html
This commit is contained in:
Iñigo Martínez 2017-12-18 20:34:16 +01:00 committed by Thomas Haller
parent 123aa38ffe
commit ffec7f0105

View file

@ -142,7 +142,6 @@ if nm_debug
'-Wno-missing-field-initializers',
'-Wno-pragmas',
'-Wno-sign-compare',
'-Wno-unused-but-set-variable',
'-Wno-unused-parameter',
'-Wparentheses-equality',
'-Wpointer-arith',