diff options
| author | Thomas Huth <thuth@redhat.com> | 2023-10-06 14:08:19 +0200 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2023-10-12 14:09:58 +0200 |
| commit | 3cc72cdbb2235b1001bab760712ef6bf543752c3 (patch) | |
| tree | 34f0a28b0c1172a91695766c6cfb208c0d6cfc9e /contrib/vhost-user-gpu/vhost-user-gpu.c | |
| parent | a51e5124a655b3dad80b36b18547cb1eca2c5eb2 (diff) | |
| download | focaccia-qemu-3cc72cdbb2235b1001bab760712ef6bf543752c3.tar.gz focaccia-qemu-3cc72cdbb2235b1001bab760712ef6bf543752c3.zip | |
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>
Diffstat (limited to 'contrib/vhost-user-gpu/vhost-user-gpu.c')
0 files changed, 0 insertions, 0 deletions