diff options
| author | Paolo Bonzini | 2022-11-03 18:19:18 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2022-11-06 09:48:42 +0100 |
| commit | b5d3dac17077c4c7d9a90b4c76123ea80ac037da (patch) | |
| tree | 854ef722372ecdf773827e9df2b0a6735670e45f /scripts | |
| parent | Fix broken configure with -Wunused-parameter (diff) | |
| download | qemu-b5d3dac17077c4c7d9a90b4c76123ea80ac037da.tar.gz qemu-b5d3dac17077c4c7d9a90b4c76123ea80ac037da.tar.xz qemu-b5d3dac17077c4c7d9a90b4c76123ea80ac037da.zip | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
