Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: overflow check in isreallycom



Ack, I know I caught a situation exactly like this in another change.
Thanks for spotting it. It's probably a good idea to add -Wall to my
CFLAGS. :)

On Mon, May 25, 2026 at 11:48 PM Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> There's an ambiguous if/else chain in exec.c:
>
> exec.c:1012:5: warning: add explicit braces to avoid dangling else
> [-Wdangling-else]
>  1012 |     else if (!cn->u.name)
>       |     ^
> 1 warning generated.



-- 
Mikael Magnusson




Messages sorted by: Reverse Date, Date, Thread, Author