summaryrefslogtreecommitdiff
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
parent6c755f669642edc3ca7cc87e6cb1c24bc9fda51a (diff)
downloadefl-a975f037c3c57954b867c32818252ff3a3070920.tar.gz
meson: warn on unused parameters like on autotools
this mirrors the behaviour of autotools.
-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',
]