summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-12-18 20:34:16 +0100
committerThomas Haller <thaller@redhat.com>2017-12-18 20:50:01 +0100
commitffec7f01050d18dd7ee8470c7263a9f95287149a (patch)
treea6f56f7e0eac6edd8b54983fa121ad81307694a1
parent123aa38ffe958cb09861115e344b23e3ccf23d72 (diff)
build: Enable unused-but-set warning in meson
The unused-but-set warning has recently been enabled in autotools (e912b36d95a3c26a6021eeb27e663bd05910a9b4), so this also modifies meson to enable it. https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00063.html
-rw-r--r--meson.build1
1 files changed, 0 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 6d0b295922..11e6cdd90d 100644
--- a/meson.build
+++ b/meson.build
@@ -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',