summary refs log tree commit diff stats
path: root/util/vhost-user-server.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-09-04 18:12:27 +0200
committerMarkus Armbruster <armbru@redhat.com>2023-09-29 10:07:16 +0200
commit1728593a82cdd8ffcd2a5a759fb301c71ae4c251 (patch)
treee66d6a48a7c119e5b9fd36dd8cfe9afad7d007cf /util/vhost-user-server.c
parent09e24b10de02b19d193d85645c19a68b98263bef (diff)
downloadfocaccia-qemu-1728593a82cdd8ffcd2a5a759fb301c71ae4c251.tar.gz
focaccia-qemu-1728593a82cdd8ffcd2a5a759fb301c71ae4c251.zip
net/eth: Clean up local variable shadowing
Fix:

  net/eth.c:435:20: error: declaration shadows a local variable [-Werror,-Wshadow]
            size_t input_size = iov_size(pkt, pkt_frags);
                   ^
  net/eth.c:413:16: note: previous declaration is here
        size_t input_size = iov_size(pkt, pkt_frags);
               ^

Suggested-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230904161235.84651-16-philmd@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'util/vhost-user-server.c')
0 files changed, 0 insertions, 0 deletions