mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
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 <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>
This commit is contained in:
parent
f798970b18
commit
6a7b8a3c0f
@ -390,7 +390,6 @@ cc_flags += [
|
||||
'-Wvariadic-macros',
|
||||
'-Wvector-operation-performance',
|
||||
'-Wvla',
|
||||
'-Wvla-larger-then=4031',
|
||||
'-Wvolatile-register-var',
|
||||
'-Wwrite-strings',
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user