diff options
author | Peter Maydell | 2011-08-12 18:49:36 +0200 |
---|---|---|
committer | Blue Swirl | 2011-08-14 21:34:25 +0200 |
commit | 3b6ffe50300f13240e1b46420ad05da1116df410 (patch) | |
tree | ccb35ff37631ecef6ce2b2dab340f1e075c31bbb /hw/virtio-blk.c | |
parent | qapi: fix build issue due to missing newline in generated header (diff) | |
download | qemu-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