Skip to content

free_target: drop redundant CT null check from assert#82

Merged
rkline0x merged 1 commit into
mainfrom
fix/free-target-assert-cleanup
May 16, 2026
Merged

free_target: drop redundant CT null check from assert#82
rkline0x merged 1 commit into
mainfrom
fix/free-target-assert-cleanup

Conversation

@rkline0x
Copy link
Copy Markdown
Contributor

Follow-up to #78. After the new !CT early return, asserting CT && again is the redundant pattern cppcheck flagged originally.

CT is dereferenced earlier on the same locked path, and the new !CT
guard from #78 makes the assert's null test pointless.
@rkline0x rkline0x merged commit c0d9c23 into main May 16, 2026
16 checks passed
@rkline0x rkline0x deleted the fix/free-target-assert-cleanup branch May 16, 2026 07:59
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.

1 participant