Re: [PATCH] name-rev: fix an 'may be used uninitialized' error
On Tue, May 5, 2026, at 02:41, Ramsay Jones wrote:
Show 15 quoted lines
> On 04/05/2026 10:56 pm, Kristoffer Haugsbakk wrote:
>> On Mon, May 4, 2026, at 22:26, Ramsay Jones wrote:
>>>[snip]
>>
>> This is what I had when maybe-uninit. didn’t fail for me.
>>
>> $ cat config.mak
>> DEVELOPER=1
>> DEBUG=1
>> CC = ccache gcc
>> CFLAGS+=-O0
>
> Ah, yes -O0 will disable the warning/error. Normally CFLAGS would be set to
> something like 'CFLAGS = -g -O2 -Wall'. (which still produces a binary you
> can reasonably use with gdb).
>
>> CFLAGS+=-ggdb3
>> USE_ASCIIDOCTOR=true
>>[snip]