summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2021-08-12 16:18:10 +0200
committerLennart Poettering <lennart@poettering.net>2021-08-13 09:23:45 +0200
commit702d40270a2984dda9f457febcba805ea458b4ad (patch)
tree37938651e5fad949438a633be2f1f7458f2dcc1e /meson.build
parent8a33aa199dc1cea14494469ac9d7d08dc6721df1 (diff)
downloadsystemd-702d40270a2984dda9f457febcba805ea458b4ad.tar.gz
meson: Make unused-function an error
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 e08a7662a7..f4a948cd65 100644
--- a/meson.build
+++ b/meson.build
@@ -345,6 +345,7 @@ possible_common_cc_flags = [
'-Werror=shift-count-overflow',
'-Werror=shift-overflow=2',
'-Werror=undef',
+ '-Werror=unused-function',
'-Wfloat-equal',
'-Wimplicit-fallthrough=5',
'-Winit-self',