1
0
mirror of https://gitlab.com/qemu-project/qemu synced 2024-07-01 07:14:48 +00:00
qemu/subprojects/libvduse
Thomas Huth 3cc72cdbb2 libvduse: Fix compiler warning with -Wshadow=local
No need to declare a new variable with the same name here,
we can simple re-use the one from the top of the function.
With this change, the file now compiles fine with -Wshadow=local.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231006120819.480792-1-thuth@redhat.com>
Reviewed-by: Xie Yongji <xieyongji@bytedance.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2023-10-12 14:09:58 +02:00
..
include
linux-headers
standard-headers
libvduse.c libvduse: Fix compiler warning with -Wshadow=local 2023-10-12 14:09:58 +02:00
libvduse.h libvduse: Add support for reconnecting 2022-06-24 17:07:06 +02:00
meson.build libvduse: Add extra compiler warnings 2023-01-11 10:44:35 +01:00