diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-09 09:50:21 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-11-07 13:08:48 +0100 |
commit | e265ee4379a62949133ce3b5d1b4b4b12a884944 (patch) | |
tree | a62961f1baf803383067f57793155090385cbcb3 /hw/isa | |
parent | 3c55dd5896d687b5d5e61e8eec07b8bb2931713a (diff) | |
download | qemu-e265ee4379a62949133ce3b5d1b4b4b12a884944.zip qemu-e265ee4379a62949133ce3b5d1b4b4b12a884944.tar.gz qemu-e265ee4379a62949133ce3b5d1b4b4b12a884944.tar.bz2 |
hw/loader: Clean up global variable shadowing in rom_add_file()
Fix:
hw/core/loader.c:1073:27: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
bool option_rom, MemoryRegion *mr,
^
include/sysemu/sysemu.h:57:22: note: previous declaration is here
extern QEMUOptionRom option_rom[MAX_OPTION_ROMS];
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Message-Id: <20231010115048.11856-3-philmd@linaro.org>
Diffstat (limited to 'hw/isa')
0 files changed, 0 insertions, 0 deletions