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

[PATCH 0/2] coverity null-check fixes

From
Jeff King <peff@peff.net>
Date
Apr 22, 2023, 13:54 UTC
Message-ID
<20230422135455.GA3942740@coredump.intra.peff.net>

Here are two cases I happened to notice via Coverity. Neither produces a user-visible bug; it's just slightly misleading code which can be cleaned up.

The first one is ancient, but since the nearby code changed, Coverity considered it new. :)

The second one is actually recent; I noted it already on the list, but it was already in 'next' at that point and is now in 'master'.

-Peff
Next: Jeff King
Message 1 of 5 in “coverity null-check fixes”
  1. 0/2 coverity null-check fixesJeff King, Apr 22, 2023
  2. 1/2 notes: clean up confusing NULL checks in init_notes()Jeff King, Apr 22, 2023
  3. Junio C HamanoApr 24, 2023
  4. Jeff KingApr 24, 2023
  5. 2/2 fetch_bundle_uri(): drop pointless NULL checkJeff King, Apr 22, 2023

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.