hw/net/vhost_net: Silence compiler warning when compiling with -Wshadow
commit5d63cb15bf2667486117690de02bbb85c1a36942
authorThomas Huth <thuth@redhat.com>
Wed, 4 Oct 2023 08:49:39 +0000 (4 10:49 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 6 Oct 2023 08:56:54 +0000 (6 10:56 +0200)
tree21c9b6c7dda7bab20bf6861b7d643917a045c536
parent071add900ba33cee8976dc3ae5b0d4909b1955f2
hw/net/vhost_net: Silence compiler warning when compiling with -Wshadow

Rename the innermost local variables to avoid compiler warnings
with "-Wshadow".

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231004084939.96349-1-thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
hw/net/vhost_net.c