diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-09-04 18:12:25 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-09-29 10:07:16 +0200 |
commit | 4705c8e5a2d0e62a276ce21e6b15bff0e7e42bdf (patch) | |
tree | 37d9b9478e53066c45516eef6b8de166df273695 /net | |
parent | 5f87dddbc2aaa126a6c1334115a5ec9bd33fb62a (diff) | |
download | qemu-4705c8e5a2d0e62a276ce21e6b15bff0e7e42bdf.zip qemu-4705c8e5a2d0e62a276ce21e6b15bff0e7e42bdf.tar.gz qemu-4705c8e5a2d0e62a276ce21e6b15bff0e7e42bdf.tar.bz2 |
hw/microblaze: Clean up local variable shadowing
Fix:
hw/microblaze/petalogix_ml605_mmu.c: In function ‘petalogix_ml605_init’:
hw/microblaze/petalogix_ml605_mmu.c:186:24: warning: declaration of ‘dinfo’ shadows a previous local [-Wshadow=compatible-local]
186 | DriveInfo *dinfo = drive_get(IF_MTD, 0, i);
| ^~~~~
hw/microblaze/petalogix_ml605_mmu.c:78:16: note: shadowed declaration is here
78 | DriveInfo *dinfo;
| ^~~~~
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230904161235.84651-14-philmd@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions