]> git.proxmox.com Git - qemu.git/commit
hw/scsi-bus.c: Fix use of uninitialised variable
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Aug 2011 16:49:36 +0000 (17:49 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 14 Aug 2011 19:34:25 +0000 (19:34 +0000)
commit3b6ffe50300f13240e1b46420ad05da1116df410
treeccb35ff37631ecef6ce2b2dab340f1e075c31bbb
parent7534ba0130a29a3373ed10557e2c64452b75ba8a
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>
hw/scsi-bus.c