[PATCH] secprof: Add a statement after labels at end of a block
Otcheretianski, Andrei
andrei.otcheretianski at intel.com
Thu Oct 29 06:14:27 PDT 2026
> Which compiler and version are you thinking of here and is this label at the end
> of a block really the only issue with it? As an example, clang
> 18.1.3 with -Wc23-extensions will identify quite a few other issues, e.g., due
> to empty initializers..
Actually, I can't remember it now.. Probably some older clang (14?)
>
> > Add an empty statement after the no_room, no_sp_match and no_valid_sp
> > labels.
>
> That looks ugly.. Couldn't the label simply be moved to be after the block?
>
Sure. Fixed it in V2.
> Jouni Malinen PGP id EFC895FA
Thanks,
Andrei
More information about the Hostap
mailing list