|
From: | Kevin Wolf |
Subject: | Re: [PATCH v2 5/7] block/vdi: Clean up local variable shadowing |
Date: | Thu, 21 Sep 2023 10:29:41 +0200 |
Am 20.09.2023 um 20:31 hat Markus Armbruster geschrieben: > Local variables shadowing other local variables or parameters make the > code needlessly hard to understand. Tracked down with -Wshadow=local. > Clean up: delete inner declarations when they are actually redundant, > else rename variables. > > Signed-off-by: Markus Armbruster <armbru@redhat.com> > Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |