diff options
author | Laurent Vivier <laurent@vivier.eu> | 2023-09-25 17:10:28 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-10-06 13:27:48 +0200 |
commit | 9962b7c213e08cbf233eb405b781ecfbb89bfd5c (patch) | |
tree | 0db5beef77237c4f8c169968aef2359231e5a88d /chardev/char-parallel.c | |
parent | eb2929ca50e76b6e6a7152b45a9973472dd1c1aa (diff) | |
download | qemu-9962b7c213e08cbf233eb405b781ecfbb89bfd5c.zip qemu-9962b7c213e08cbf233eb405b781ecfbb89bfd5c.tar.gz qemu-9962b7c213e08cbf233eb405b781ecfbb89bfd5c.tar.bz2 |
linux-user/syscall.c: clean up local variable shadowing in TARGET_NR_getcpu
Fix following warnings:
.../linux-user/syscall.c: In function 'do_syscall1':
.../linux-user/syscall.c:11180:22: warning: declaration of 'cpu' shadows a previous local [-Wshadow=local]
11180 | unsigned cpu, node;
| ^~~
.../linux-user/syscall.c:8963:15: note: shadowed declaration is here
8963 | CPUState *cpu = env_cpu(cpu_env);
| ^~~
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20230925151029.461358-5-laurent@vivier.eu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'chardev/char-parallel.c')
0 files changed, 0 insertions, 0 deletions