[network-manager-applet] build/meson: enable -Wvla and -Wunused-but-set-variable warnings
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] build/meson: enable -Wvla and -Wunused-but-set-variable warnings
- Date: Thu, 21 Dec 2017 09:26:50 +0000 (UTC)
commit d370868722c5f990167820cefab9173c20c2b9e2
Author: Thomas Haller <thaller redhat com>
Date: Thu Dec 21 10:25:03 2017 +0100
build/meson: enable -Wvla and -Wunused-but-set-variable warnings
meson.build | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index b232f5a..1995d05 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]