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:
Thomas Huth 2021-05-27 12:37:36 +02:00 committed by Ján Tomko
parent f798970b18
commit 6a7b8a3c0f

View File

@ -390,7 +390,6 @@ cc_flags += [
'-Wvariadic-macros',
'-Wvector-operation-performance',
'-Wvla',
'-Wvla-larger-then=4031',
'-Wvolatile-register-var',
'-Wwrite-strings',
]