]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
meson.build: Remove the -Wvla-larger-then flag
authorThomas Huth <thuth@redhat.com>
Thu, 27 May 2021 10:37:36 +0000 (12:37 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 8 Jun 2021 11:59:43 +0000 (13:59 +0200)
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 <thuth@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
meson.build

index cc96412e9da6ab254071ac470ce818b5768a2323..1844c73e67cc82e973dc38fd9b9074610137f212 100644 (file)
@@ -390,7 +390,6 @@ cc_flags += [
   '-Wvariadic-macros',
   '-Wvector-operation-performance',
   '-Wvla',
-  '-Wvla-larger-then=4031',
   '-Wvolatile-register-var',
   '-Wwrite-strings',
 ]