meson: avoid unused arguments of main() in compiler tests
commitb5d3dac17077c4c7d9a90b4c76123ea80ac037da
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 3 Nov 2022 17:19:18 +0000 (3 18:19 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 6 Nov 2022 08:48:42 +0000 (6 09:48 +0100)
tree854ef722372ecdf773827e9df2b0a6735670e45f
parent8a0afbb2a4f7da5e6a542787ea90eb240e7ac65d
meson: avoid unused arguments of main() in compiler tests

meson.build has one test where "main" is declared unnecessarily
with argc and argv arguments, but does not use them.  Because
the test needs -Werror too, HAVE_BROKEN_SIZE_MAX is defined
incorrectly.

Fix the test and, for consistency, remove argc and argv whenever
they are not needed.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build