From: Markus Armbruster <armbru@redhat.com>
To: Laurent Vivier <laurent@vivier.eu>
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH] disas/m68k: clean up local variable shadowing
Date: Fri, 29 Sep 2023 08:58:13 +0200 [thread overview]
Message-ID: <87h6ndh3ei.fsf@pond.sub.org> (raw)
In-Reply-To: <20230925084455.395150-1-laurent@vivier.eu> (Laurent Vivier's message of "Mon, 25 Sep 2023 10:44:55 +0200")
Laurent Vivier <laurent@vivier.eu> writes:
> Fix following warnings
>
> .../disas/m68k.c: In function ‘print_insn_arg’:
> .../disas/m68k.c:1635:13: warning: declaration of ‘val’ shadows a previous local [-Wshadow=compatible-local]
> 1635 | int val = fetch_arg (buffer, place, 5, info);
> | ^~~
> .../disas/m68k.c:1093:7: note: shadowed declaration is here
> 1093 | int val = 0;
> | ^~~
>
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Queued, thanks!
prev parent reply other threads:[~2023-09-29 6:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-25 8:44 [PATCH] disas/m68k: clean up local variable shadowing Laurent Vivier
2023-09-26 16:30 ` Thomas Huth
2023-09-29 6:58 ` Markus Armbruster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h6ndh3ei.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=laurent@vivier.eu \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).