Skip to content

Move misplaced NULL pointer checks#1992

Merged
jkbonfield merged 1 commit intosamtools:developfrom
daviesrob:null-checks
Mar 26, 2026
Merged

Move misplaced NULL pointer checks#1992
jkbonfield merged 1 commit intosamtools:developfrom
daviesrob:null-checks

Conversation

@daviesrob
Copy link
Member

Found using Coccinelle. No problems have been reported due to these, but it is good form to have them in the right place.

Found using Coccinelle.  No problems have been reported due to
these, but it is good form to have them in the right place.
@jkbonfield jkbonfield merged commit b13f80a into samtools:develop Mar 26, 2026
9 checks passed
@jkbonfield
Copy link
Contributor

I'm guessing these are cases that couldn't happen due to error checking elsewhere, given if they did it'd have died horribly. However yes, it's good for it to make sense! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants