Skip to content

Move flags test in overlap_remove()#1990

Merged
vasudeva8 merged 1 commit intosamtools:developfrom
daviesrob:overlap_remove
Mar 13, 2026
Merged

Move flags test in overlap_remove()#1990
vasudeva8 merged 1 commit intosamtools:developfrom
daviesrob:overlap_remove

Conversation

@daviesrob
Copy link
Member

bam_plp_reset() calls overlap_remove() with the b parameter set to NULL to make it clear out the overlap hash table. This means the tests on b->core.flag need to be in the if (b) branch and not before.

bam_plp_reset() calls overlap_remove() with the `b` parameter
set to NULL to make it clear out the overlap hash table.  This
means the tests on b->core.flag need to be in the `if (b)`
branch and not before.
@vasudeva8 vasudeva8 merged commit 4f08744 into samtools:develop Mar 13, 2026
9 checks passed
@daviesrob daviesrob deleted the overlap_remove branch March 13, 2026 17:33
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