aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-03 15:59:43 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-03 16:21:11 +0100
commita975f037c3c57954b867c32818252ff3a3070920 (patch)
treef166f18bb73e3b7f0d0975512de8bcf18cd775c8 /meson.build
parentecore: add tests when not defining setter/getter/free in ModelView callback. (diff)
downloadefl-a975f037c3c57954b867c32818252ff3a3070920.tar.gz
meson: warn on unused parameters like on autotools
this mirrors the behaviour of autotools.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index a93ac5a245..a814d9dfee 100644
--- a/meson.build
+++ b/meson.build
@@ -80,6 +80,7 @@ dev_cflags = []
dev_cflags_try = [
'-fvisibility=hidden',
'-Wall',
+ '-Wunused-parameter',
'-Wsign-compare',
'-Wno-missing-field-initializers',
]