summary refs log tree commit diff stats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-03-30 15:07:27 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-04-20 11:17:35 +0200
commita74b0d0a6dcca4e7d7561655256a8cf671d80ac1 (patch)
treee7265e9e66c7e21bb7e200b6dec7fd5ae6fb3b29 /scripts/qapi/source.py
parent3f9c41c5df9617510d8533cf6588172efb3df34b (diff)
downloadfocaccia-qemu-a74b0d0a6dcca4e7d7561655256a8cf671d80ac1.tar.gz
focaccia-qemu-a74b0d0a6dcca4e7d7561655256a8cf671d80ac1.zip
tests: bios-tables-test: replace memset with initializer
Coverity complains that memset() writes over a const field.  Use
an initializer instead, so that the const field is left to zero.
Tests that have to write the const field already use an initializer
for the whole struct, here I am choosing the smallest possible
patch (which is not that small already).

Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions