]> Git Repo - qemu.git/commit
virtio-pci: build for uninitialized return value in vq_vector_unmask
authorMichael Roth <[email protected]>
Mon, 14 Jan 2013 19:20:12 +0000 (13:20 -0600)
committerAnthony Liguori <[email protected]>
Mon, 14 Jan 2013 19:36:12 +0000 (13:36 -0600)
commit53510bfc1256711365cd2a841649f3ad5a79790f
treef3fb13dd1870afece3194143616073232f8014f6
parentbe657dea4bec90031cc66a111a772299bfca7fa5
virtio-pci: build for uninitialized return value in vq_vector_unmask

Fixes the following:

/home/mdroth/w/qemu2.git/hw/virtio-pci.c: In function
‘kvm_virtio_pci_vector_unmask’:
/home/mdroth/w/qemu2.git/hw/virtio-pci.c:673:12: error: ‘ret’ may be
used uninitialized in this function [-Werror=uninitialized]
cc1: all warnings being treated as errors
make: *** [hw/virtio-pci.o] Error 1
make: *** Waiting for unfinished jobs....

Signed-off-by: Michael Roth <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/virtio-pci.c
This page took 0.022229 seconds and 4 git commands to generate.