Skip to content

Remove unused variables in AlignedSegment compare method#1383

Draft
nh13 wants to merge 1 commit intopysam-developers:masterfrom
nh13:nh13/remove-unused-compare-vars
Draft

Remove unused variables in AlignedSegment compare method#1383
nh13 wants to merge 1 commit intopysam-developers:masterfrom
nh13:nh13/remove-unused-compare-vars

Conversation

@nh13
Copy link
Contributor

@nh13 nh13 commented Mar 2, 2026

Summary

  • Remove unused a and b pointer variables in AlignedSegment.__richcmp__ — the comparison uses memcmp(&t.core, &o.core, ...) directly

Test plan

  • Run REF_PATH=: pytest tests/AlignedSegment_test.py -v

AI disclosure: This PR was AI-assisted using Claude Code. The issue was identified via AI-guided code review, and the implementation was drafted by AI with human review and approval.

@nh13 nh13 marked this pull request as draft March 3, 2026 06:21
@nh13 nh13 changed the title refactor: remove unused variables in compare method Remove unused variables in AlignedSegment compare method Mar 3, 2026
@nh13 nh13 force-pushed the nh13/remove-unused-compare-vars branch from 44b9a6a to 42a9440 Compare March 3, 2026 06:24
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