From: Thomas Huth Date: Thu, 27 May 2021 10:37:36 +0000 (+0200) Subject: meson.build: Remove the -Wvla-larger-then flag X-Git-Tag: v7.5.0-rc1~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a7b8a3c0f4b19479d811e69ee4fbaef5287b06e;p=thirdparty%2Flibvirt.git meson.build: Remove the -Wvla-larger-then flag The flag has a typo in it, it's "...-than=..." and not "...-then=...", so this was in fact never used. Since we're also using -Wvla (without size), we should already get warnings about any variable length arrays anyway, so the additional "-Wvla-larger-than" does not make much sense and thus we can simply drop this. Signed-off-by: Thomas Huth Reviewed-by: Martin Kletzander Reviewed-by: Ján Tomko Signed-off-by: Ján Tomko --- diff --git a/meson.build b/meson.build index cc96412e9d..1844c73e67 100644 --- a/meson.build +++ b/meson.build @@ -390,7 +390,6 @@ cc_flags += [ '-Wvariadic-macros', '-Wvector-operation-performance', '-Wvla', - '-Wvla-larger-then=4031', '-Wvolatile-register-var', '-Wwrite-strings', ]