aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-14 13:44:07 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-14 13:44:07 +0000
commit5c3ff3a7be1b6fa0ad071a8de98400e24e158dcc (patch)
tree11d7cc6a9db008a7164c850e550ec71bd1949a51 /hw
parent0cb3fb1e30a7789881e184b1134f2f47752b64d5 (diff)
Avoid compiler warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1922 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 642af5e2b5..6175d871a6 100644
--- 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;