summaryrefslogtreecommitdiffstats
path: root/hw/virtio-blk.c
diff options
context:
space:
mode:
authorPeter Maydell2011-08-12 18:49:36 +0200
committerBlue Swirl2011-08-14 21:34:25 +0200
commit3b6ffe50300f13240e1b46420ad05da1116df410 (patch)
treeccb35ff37631ecef6ce2b2dab340f1e075c31bbb /hw/virtio-blk.c
parentqapi: fix build issue due to missing newline in generated header (diff)
downloadqemu-3b6ffe50300f13240e1b46420ad05da1116df410.tar.gz
qemu-3b6ffe50300f13240e1b46420ad05da1116df410.tar.xz
qemu-3b6ffe50300f13240e1b46420ad05da1116df410.zip
hw/scsi-bus.c: Fix use of uninitialised variable
Don't use req before it has been initialised in scsi_req_new(). This fixes a compile failure due to gcc complaining about this. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/virtio-blk.c')
0 files changed, 0 insertions, 0 deletions