]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: "upgrade" -Wimplicit-fallthrough to 5 7389/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 20 Nov 2017 13:23:40 +0000 (14:23 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 21 Nov 2017 11:47:51 +0000 (12:47 +0100)
5 means that only the explicit attribute introduced in previous commit
is accepted. We don't want the comments anymore.

meson.build

index b038d6df820d33fae87d50f403af386550282de0..6f3f3193856ad2d6293463ed8d28dcf6c02ccb36 100644 (file)
@@ -271,7 +271,7 @@ foreach arg : ['-Wextra',
                '-Wstrict-prototypes',
                '-Wredundant-decls',
                '-Wmissing-noreturn',
-               '-Wimplicit-fallthrough=3',
+               '-Wimplicit-fallthrough=5',
                '-Wshadow',
                '-Wendif-labels',
                '-Wstrict-aliasing=2',