Avoid compiler warning.
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 14 May 2006 13:44:07 +0000 (13:44 +0000)
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 14 May 2006 13:44:07 +0000 (13:44 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1922 c046a42c-6fe2-441c-8c8c-71466251a162

hw/pc.c

diff --git a/hw/pc.c b/hw/pc.c
index 642af5e..6175d87 100644 (file)
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -611,7 +611,7 @@ static void pc_init1(int ram_size, int vga_ram_size, int boot_device,
     unsigned long bios_offset, vga_bios_offset;
     int bios_size, isa_bios_size;
     PCIBus *pci_bus;
-    int piix3_devfn;
+    int piix3_devfn = -1;
     CPUState *env;
     NICInfo *nd;