git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] name-rev: fix an 'may be used uninitialized' error

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
May 5, 2026, 19:09 UTC
Message-ID
<f3e3130b-40a7-43f9-b8dc-41ab57de5f2b@app.fastmail.com>
In-Reply-To
<aad833e9-d34e-4e57-a1e7-99dc0c6c7d24@ramsayjones.plus.com>
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).
Thanks :)
>
>>     CFLAGS+=-ggdb3
>>     USE_ASCIIDOCTOR=true
>>[snip]
Previous: Ramsay Jones
Message 8 of 8 in “name-rev: fix an 'may be used uninitialized' error”
  1. name-rev: fix an 'may be used uninitialized' errorRamsay Jones, May 3, 2026
  2. Kristoffer HaugsbakkMay 3, 2026
  3. Junio C HamanoMay 4, 2026
  4. Kristoffer HaugsbakkMay 4, 2026
  5. Ramsay JonesMay 4, 2026
  6. Kristoffer HaugsbakkMay 4, 2026
  7. Ramsay JonesMay 5, 2026
  8. Kristoffer HaugsbakkMay 5, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.