[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] libvduse: Fix compiler warning with -Wshadow=local
From: |
Markus Armbruster |
Subject: |
Re: [PATCH] libvduse: Fix compiler warning with -Wshadow=local |
Date: |
Thu, 12 Oct 2023 08:07:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Thomas Huth <thuth@redhat.com> writes:
> 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>
Queued. Thanks!