aboutsummaryrefslogtreecommitdiff
path: root/block_int.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-11-09 21:59:50 +0000
committerKevin Wolf <kwolf@redhat.com>2011-11-11 14:02:59 +0100
commit980bda8ba2322f665934913fbe6c4c202d61a9f9 (patch)
tree52f2a2f9b0ec26bd3befc961337cbc89a39f2af1 /block_int.h
parent78439f6af1caa3e8bdafc9fc2d62aeefa53ed63a (diff)
hw/pc.c: Fix use-while-uninitialized of fd_type[]
Fix a use-while-uninitialized of the fd_type[] array (introduced in commit 34d4260e1, noticed by Coverity). This is more theoretical than practical, since it's quite hard to get here with floppy==NULL (the qdev_try_create() of the isa-fdc device has to fail). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block_int.h')
0 files changed, 0 insertions, 0 deletions