Subject: Re: bug#58291: 29.0.50; MacOS compilation warning for possibly unitialized use in emacs.c

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 04 Oct 2022 20:40:41 +0200

Gerd Möllmann <[email-masked]> writes:

> This is latest master as of writing this.  When compiling emacs, I see
>
> emacs.c:899:7: warning: variable 'bufsize' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
>   if (!(emacs_executable && *emacs_executable))
>       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> emacs.c:964:7: note: uninitialized use occurs here
>   if (bufsize < needed)
>       ^~~~~~~

I guess this might be related to Andreas' recent fix?  Added to the CCs.