commit | 3b6ffe50300f13240e1b46420ad05da1116df410 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Fri Aug 12 17:49:36 2011 +0100 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sun Aug 14 19:34:25 2011 +0000 |
tree | ccb35ff37631ecef6ce2b2dab340f1e075c31bbb | |
parent | 7534ba0130a29a3373ed10557e2c64452b75ba8a [diff] |
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>