aboutsummaryrefslogtreecommitdiff
path: root/python/scripts/vendor.py
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2024-03-28 14:20:51 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2024-10-02 16:14:29 +0400
commit3073c6b99557042476add4ddbcc8c834ae70fce5 (patch)
tree50395bf145f4b0fa86b66d0f83e2a537c966e5da /python/scripts/vendor.py
parent4770030bcb87a910e34f60c03c439b385b33c2da (diff)
downloadqemu-3073c6b99557042476add4ddbcc8c834ae70fce5.zip
qemu-3073c6b99557042476add4ddbcc8c834ae70fce5.tar.gz
qemu-3073c6b99557042476add4ddbcc8c834ae70fce5.tar.bz2
hw/virtio: fix -Werror=maybe-uninitialized
../hw/virtio/vhost-shadow-virtqueue.c:545:13: error: ‘r’ may be used uninitialized [-Werror=maybe-uninitialized] Set `r` to 0 at every loop, since we don't check vhost_svq_get_buf() return value. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'python/scripts/vendor.py')
0 files changed, 0 insertions, 0 deletions