| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 6/7] block: Clean up local variable shadowing
 On Thu, Aug 31, 2023 at 3:25 PM Markus Armbruster <armbru@xxxxxxxxxx> wrote:
>
> 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.
For rbd
>  block/rbd.c          |  2 +-
Acked-by: Ilya Dryomov <idryomov@xxxxxxxxx>
Thanks,
                Ilya
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |