diff options
author | Sebastian Herbszt <herbszt@gmx.de> | 2009-08-16 14:07:54 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 19:33:15 -0500 |
commit | 06c79f4ebdddbb55a27e06818eedc614e0e02815 (patch) | |
tree | 5c5894c7e037aeac8a8b517a64dc016b7289602d /hw/eepro100.c | |
parent | 6eea90eba47534d57f05d16c1b7d695574e2395d (diff) | |
download | qemu-06c79f4ebdddbb55a27e06818eedc614e0e02815.zip qemu-06c79f4ebdddbb55a27e06818eedc614e0e02815.tar.gz qemu-06c79f4ebdddbb55a27e06818eedc614e0e02815.tar.bz2 |
pci-hotplug: initialize dinfo to NULL in pci_device_hot_add
Suppress the following compiler warning emitted by at least gcc version 4.2.1 (SUSE Linux)
and gcc version 3.4.5 (mingw32 special):
hw/pci-hotplug.c: In function 'pci_device_hot_add':
hw/pci-hotplug.c:102: warning: 'dinfo' may be used uninitialized in this function
hw/pci-hotplug.c:102: note: 'dinfo' was declared here
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/eepro100.c')
0 files changed, 0 insertions, 0 deletions