Skip to content

refactor: remove dead build_get_request_packet()#35

Merged
tobez merged 1 commit into
mainfrom
remove-dead-build-get-request-packet
Jul 9, 2026
Merged

refactor: remove dead build_get_request_packet()#35
tobez merged 1 commit into
mainfrom
remove-dead-build-get-request-packet

Conversation

@tobez

@tobez tobez commented Jul 9, 2026

Copy link
Copy Markdown
Owner

build_get_request_packet() lost its only caller when the ber-signed-integers
work deleted test_ber.c's demo hexdump block, leaving only the definition in
ber.c and the declaration in sqe.h. It also force-encoded a caller-supplied
request id to 4 bytes, making it a latent second copy of the sid-range encoding
invariant — worth removing rather than leaving as a footgun.

This is an internal-only removal with no user-visible effect, so no changelog
fragment.

Test plan

  • Clean -Werror build
  • Full test suite passes (make test, 393 tests)
  • scan-build static analysis: No bugs found

@tobez tobez merged commit 9477e6c into main Jul 9, 2026
3 checks passed
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