linux-user/strace: Clean up local variable shadowing
commit7f087a323768585bb6063a1ee05a03a52b6a0b8f
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 4 Sep 2023 16:12:31 +0000 (4 18:12 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 29 Sep 2023 08:07:16 +0000 (29 10:07 +0200)
tree5d5a1d7fa4b6fb935b1dd8a8cec91e55646a773b
parentfbf58f2141f670c1e4fc63be36e8a45330ab1e3d
linux-user/strace: Clean up local variable shadowing

Fix:

  linux-user/strace.c: In function ‘print_sockaddr’:
  linux-user/strace.c:370:17: warning: declaration of ‘i’ shadows a previous local [-Wshadow=compatible-local]
    370 |             int i;
        |                 ^
  linux-user/strace.c:361:9: note: shadowed declaration is here
    361 |     int i;
        |         ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230904161235.84651-20-philmd@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
linux-user/strace.c