]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: Make unused-function an error
authorJan Janssen <medhefgo@web.de>
Thu, 12 Aug 2021 14:18:10 +0000 (16:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 13 Aug 2021 07:23:45 +0000 (09:23 +0200)
meson.build

index e08a7662a7fb89d927ef2a67e0a011b4350e6fc1..f4a948cd6555f21eb50a61f6317f1d25fb17adc0 100644 (file)
@@ -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',