From c060879558f4bd85e05f1f8b9ccbf8997e17bbe9 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Mon, 11 Nov 2019 16:54:55 +0000 Subject: [PATCH] build: Disable -Wdeclaration-after-statement It's inconsistent to ask for this in warning_cflags, and immediately disable it in no_warning_cflags. Signed-off-by: Simon McVittie <smcv@collabora.com> --- meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/meson.build b/meson.build index ff9e18ff7..ae0cbd339 100644 --- a/meson.build +++ b/meson.build @@ -59,7 +59,6 @@ warning_cflags = [ '-Wextra', '-Warray-bounds', '-Wcast-align', - '-Wdeclaration-after-statement', '-Wdouble-promotion', '-Wduplicated-branches', '-Wduplicated-cond', -- GitLab