Skip to content

coverity null-check fixes

Jeff King git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2notes: clean up confusing NULL checks in init_notes()notes.c+2 -22 replies
2/2fetch_bundle_uri(): drop pointless NULL checkbundle-uri.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] coverity null-check fixes

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