From e2209e869a5560cb12de040aa5f9db4a305111e8 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 1 Jul 2020 13:37:14 +1000 Subject: [PATCH] meson: turn on Wimplicit-fallthrough project wide MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This will help avoid coding errors and allows for less warnings from some static analysis tools. Reviewed-by: Marek Olšák Part-of: --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 7d0373f3753..043047ddbea 100644 --- a/meson.build +++ b/meson.build @@ -991,6 +991,7 @@ else '-Werror=empty-body', '-Werror=incompatible-pointer-types', '-Werror=int-conversion', + '-Wimplicit-fallthrough', '-Wno-missing-field-initializers', '-Wno-format-truncation', '-fno-math-errno', -- 2.30.2