[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58291: 29.0.50; MacOS compilation warning for possibly unitialized u
From: |
Lars Ingebrigtsen |
Subject: |
bug#58291: 29.0.50; MacOS compilation warning for possibly unitialized use in emacs.c |
Date: |
Tue, 04 Oct 2022 20:40:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Gerd Möllmann <gerd.moellmann@gmail.com> 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.