diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-09-04 18:28:22 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-09-29 10:07:17 +0200 |
commit | 5e0528a72570e95945eac841b0871f0cbba777b8 (patch) | |
tree | 75f8271534b09f99e742a1ad945601d6db3fcb95 /pc-bios/s390-ccw/bswap.h | |
parent | 6ba9b60a93d4f4df70205cbeb6c547a863f3c170 (diff) | |
download | qemu-5e0528a72570e95945eac841b0871f0cbba777b8.zip qemu-5e0528a72570e95945eac841b0871f0cbba777b8.tar.gz qemu-5e0528a72570e95945eac841b0871f0cbba777b8.tar.bz2 |
hw/core/machine: Clean up local variable shadowing
Fix:
hw/core/machine.c: In function ‘machine_initfn’:
hw/core/machine.c:1081:17: warning: declaration of ‘obj’ shadows a parameter [-Wshadow=compatible-local]
1081 | Object *obj = OBJECT(ms);
| ^~~
hw/core/machine.c:1065:36: note: shadowed declaration is here
1065 | static void machine_initfn(Object *obj)
| ~~~~~~~~^~~
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230904162824.85385-2-philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'pc-bios/s390-ccw/bswap.h')
0 files changed, 0 insertions, 0 deletions