diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-03-30 15:07:27 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-04-20 11:17:35 +0200 |
commit | a74b0d0a6dcca4e7d7561655256a8cf671d80ac1 (patch) | |
tree | e7265e9e66c7e21bb7e200b6dec7fd5ae6fb3b29 /qemu-keymap.c | |
parent | 3f9c41c5df9617510d8533cf6588172efb3df34b (diff) |
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 'qemu-keymap.c')
0 files changed, 0 insertions, 0 deletions