summary refs log tree commit diff stats
path: root/net/net.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-10-04 14:00:05 +0200
committerMarkus Armbruster <armbru@redhat.com>2023-10-06 13:16:57 +0200
commita5afeefb58707768b86673118bd996bcfc8ea91e (patch)
treee6ce31d764d33eda31a25aaa7e470487a4e0fee9 /net/net.c
parentbadf708d698853ce572c7dd41de6d81de1dedcbe (diff)
downloadfocaccia-qemu-a5afeefb58707768b86673118bd996bcfc8ea91e.tar.gz
focaccia-qemu-a5afeefb58707768b86673118bd996bcfc8ea91e.zip
hw/ide/ahci: Clean up local variable shadowing
Fix:

  hw/ide/ahci.c:1577:23: error: declaration shadows a local variable [-Werror,-Wshadow]
            IDEState *s = &ad->port.ifs[j];
                      ^
  hw/ide/ahci.c:1569:29: note: previous declaration is here
    void ahci_uninit(AHCIState *s)
                                ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-3-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'net/net.c')
0 files changed, 0 insertions, 0 deletions