summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-12-21 10:25:03 +0100
committerThomas Haller <thaller@redhat.com>2017-12-21 10:25:03 +0100
commitd370868722c5f990167820cefab9173c20c2b9e2 (patch)
tree67da1cb359ce3d961577e20d9250f3018983df71
parent554fafd9faf185342b77566de58d5c05d9be1c69 (diff)
downloadnetwork-manager-applet-d370868722c5f990167820cefab9173c20c2b9e2.tar.gz
build/meson: enable -Wvla and -Wunused-but-set-variable warnings
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index b232f5af..1995d059 100644
--- a/meson.build
+++ b/meson.build
@@ -94,11 +94,11 @@ if nma_debug
'-Wno-missing-field-initializers',
'-Wno-pragmas',
'-Wno-sign-compare',
- '-Wno-unused-but-set-variable',
'-Wno-unused-parameter',
'-Wshadow',
'-Wstrict-prototypes',
- '-Wundef'
+ '-Wundef',
+ '-Wvla',
]
common_flags += cc.get_supported_arguments(test_cflags)