summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraliguori2009-01-16 15:27:37 +0100
committeraliguori2009-01-16 15:27:37 +0100
commite9ebead2b5c70890454e698d9ff174e3020ea861 (patch)
treef791a885314106fdcf92b5db55cff521cbaaf517
parenthw/omap_sx1.c: fix build (diff)
downloadqemu-e9ebead2b5c70890454e698d9ff174e3020ea861.tar.gz
qemu-e9ebead2b5c70890454e698d9ff174e3020ea861.tar.xz
qemu-e9ebead2b5c70890454e698d9ff174e3020ea861.zip
Fix uninitialized variable warning
r6322 introduced a warning pointed out by Jan Kiszka. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6342 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/pc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/pc.c b/hw/pc.c
index d64e442601..2b578c5441 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -870,11 +870,11 @@ vga_bios_error:
fprintf(stderr, "qemu: could not load VGA BIOS '%s'\n", buf);
exit(1);
}
- }
- /* setup basic memory access */
- cpu_register_physical_memory(0xc0000, 0x10000,
- vga_bios_offset | IO_MEM_ROM);
+ /* setup basic memory access */
+ cpu_register_physical_memory(0xc0000, 0x10000,
+ vga_bios_offset | IO_MEM_ROM);
+ }
/* map the last 128KB of the BIOS in ISA space */
isa_bios_size = bios_size;