[PATCH] 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.
---
 meson.build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meson.build b/meson.build
index 6d0b29592..11e6cdd90 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',
-- 
2.15.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]