diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-09 09:33:29 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-20 14:46:07 +0200 |
commit | a7e6186810f9389bb3aaa9209f548052651bc11d (patch) | |
tree | 66cfab3f8aa55622c1d2ed67bb793a08e36a997a /fsdev | |
parent | 2277fbfde16582b76254f8bbbebfb969d0dbef3c (diff) | |
download | qemu-a7e6186810f9389bb3aaa9209f548052651bc11d.zip qemu-a7e6186810f9389bb3aaa9209f548052651bc11d.tar.gz qemu-a7e6186810f9389bb3aaa9209f548052651bc11d.tar.bz2 |
hw/pci: Clean up global variable shadowing of address_space_io variable
Fix:
hw/pci/pci.c:504:54: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
MemoryRegion *address_space_io,
^
hw/pci/pci.c:533:38: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
MemoryRegion *address_space_io,
^
hw/pci/pci.c:543:40: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
MemoryRegion *address_space_io,
^
hw/pci/pci.c:590:45: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
MemoryRegion *address_space_io,
^
include/exec/address-spaces.h:35:21: note: previous declaration is here
extern AddressSpace address_space_io;
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20231010115048.11856-6-philmd@linaro.org>
Diffstat (limited to 'fsdev')
0 files changed, 0 insertions, 0 deletions