Skip to content

Remove duplicate blockMode assignment in compress_begin#335

Open
devdanzin wants to merge 1 commit intopython-lz4:masterfrom
devdanzin:fix/duplicate-blockmode-assignment
Open

Remove duplicate blockMode assignment in compress_begin#335
devdanzin wants to merge 1 commit intopython-lz4:masterfrom
devdanzin:fix/duplicate-blockmode-assignment

Conversation

@devdanzin
Copy link
Copy Markdown

Summary

Remove duplicate preferences.frameInfo.blockMode assignment in compress_begin. The preference is set at lines 321-328 based on block_linked, then identically again at lines 348-355. The second assignment is redundant.

Found using cext-review-toolkit.

Note

This PR was authored and submitted by Claude Code (Anthropic).
It was reviewed by a human before submission.

Test plan

  • Existing tests pass

The blockMode preference is set at lines 321-328 and then identically
again at lines 348-355 in compress_begin. Remove the second redundant
assignment.

Found using cext-review-toolkit (https://github.com/devdanzin/cext-review-toolkit).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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