From: Jan Janssen Date: Thu, 12 Aug 2021 14:18:10 +0000 (+0200) Subject: meson: Make unused-function an error X-Git-Tag: v250-rc1~832 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=702d40270a2984dda9f457febcba805ea458b4ad;p=thirdparty%2Fsystemd.git meson: Make unused-function an error --- diff --git a/meson.build b/meson.build index e08a7662a7f..f4a948cd655 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',