Commit e9ebead2b5c70890454e698d9ff174e3020ea861
1 parent
6517ca2a
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
Showing
1 changed file
with
4 additions
and
4 deletions
hw/pc.c
... | ... | @@ -870,11 +870,11 @@ vga_bios_error: |
870 | 870 | fprintf(stderr, "qemu: could not load VGA BIOS '%s'\n", buf); |
871 | 871 | exit(1); |
872 | 872 | } |
873 | - } | |
874 | 873 | |
875 | - /* setup basic memory access */ | |
876 | - cpu_register_physical_memory(0xc0000, 0x10000, | |
877 | - vga_bios_offset | IO_MEM_ROM); | |
874 | + /* setup basic memory access */ | |
875 | + cpu_register_physical_memory(0xc0000, 0x10000, | |
876 | + vga_bios_offset | IO_MEM_ROM); | |
877 | + } | |
878 | 878 | |
879 | 879 | /* map the last 128KB of the BIOS in ISA space */ |
880 | 880 | isa_bios_size = bios_size; | ... | ... |