OSDN Git Service

contrib/vhost-user-gpu: Fix compiler warning when compiling with -Wshadow
authorThomas Huth <thuth@redhat.com>
Mon, 9 Oct 2023 08:37:25 +0000 (10:37 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 12 Oct 2023 14:37:16 +0000 (16:37 +0200)
commitcc46a7ef3b05242896016cd2928a123ed711272f
treeb411a6f2f5881dbef37e7b44e178b02a04f6ab93
parent9e7d33941f2070d00090395addf476fd1b0a3d6f
contrib/vhost-user-gpu: Fix compiler warning when compiling with -Wshadow

Rename some variables to avoid compiler warnings when compiling
with -Wshadow=local.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231009083726.30301-1-thuth@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
contrib/vhost-user-gpu/vhost-user-gpu.c
contrib/vhost-user-gpu/vugpu.h