|
From: | Kevin Wolf |
Subject: | Re: [PATCH v2 6/7] block: Clean up local variable shadowing |
Date: | Thu, 21 Sep 2023 10:33:54 +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> > Acked-by: Anthony PERARD <anthony.perard@citrix.com> > Acked-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |