Commit 5c3ff3a7be1b6fa0ad071a8de98400e24e158dcc
1 parent
0cb3fb1e
Avoid compiler warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1922 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
hw/pc.c
... | ... | @@ -611,7 +611,7 @@ static void pc_init1(int ram_size, int vga_ram_size, int boot_device, |
611 | 611 | unsigned long bios_offset, vga_bios_offset; |
612 | 612 | int bios_size, isa_bios_size; |
613 | 613 | PCIBus *pci_bus; |
614 | - int piix3_devfn; | |
614 | + int piix3_devfn = -1; | |
615 | 615 | CPUState *env; |
616 | 616 | NICInfo *nd; |
617 | 617 | ... | ... |