[PATCH] find: implement -empty

David Demelier markand at malikania.fr
Wed Sep 11 15:42:59 UTC 2019


Le 11/09/2019 à 17:30, Aaro Koskinen a écrit :
> Hi,
> 
> On Wed, Sep 11, 2019 at 03:22:33PM +0200, David Demelier wrote:
>> You can save an indent level here by removing this else block. Since there
>> is a return before, no need for this else.
> 
> The block is used to limit variable scope, so I don't have to declare
> variables that are only used when else is taken. Though, on my compiler
> it does not really matter, the generated code is the same.
> 
> A.

Ah that's true, I forgot that old C versions forbid declaration/definition.


More information about the busybox mailing list