diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-09-04 18:12:16 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-09-29 10:07:15 +0200 |
commit | 92e0ef7d907a7b39d942732a29c04446a4ef5cac (patch) | |
tree | 319b340d5be32b0b31077d36b6e45de0e3d69062 /target/m68k/translate.c | |
parent | 5a3d2c3562a9b35443fb4121ba6efff9d6cdbb91 (diff) | |
download | qemu-92e0ef7d907a7b39d942732a29c04446a4ef5cac.zip qemu-92e0ef7d907a7b39d942732a29c04446a4ef5cac.tar.gz qemu-92e0ef7d907a7b39d942732a29c04446a4ef5cac.tar.bz2 |
target/mips: Clean up local variable shadowing
Fix:
target/mips/tcg/nanomips_translate.c.inc:4410:33: error: declaration shadows a local variable [-Werror,-Wshadow]
int32_t imm = extract32(ctx->opcode, 1, 13) |
^
target/mips/tcg/nanomips_translate.c.inc:3577:9: note: previous declaration is here
int imm;
^
target/mips/tcg/translate.c:15578:19: error: declaration shadows a local variable [-Werror,-Wshadow]
for (unsigned i = 1; i < 32; i++) {
^
target/mips/tcg/translate.c:15567:9: note: previous declaration is here
int i;
^
target/mips/tcg/msa_helper.c:7478:13: error: declaration shadows a local variable [-Werror,-Wshadow]
MSA_FLOAT_MAXOP(pwx->w[0], min, pws->w[0], pws->w[0], 32);
^
target/mips/tcg/msa_helper.c:7434:23: note: expanded from macro 'MSA_FLOAT_MAXOP'
float_status *status = &env->active_tc.msa_fp_status;
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230904161235.84651-5-philmd@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'target/m68k/translate.c')
0 files changed, 0 insertions, 0 deletions