]> git.ipfire.org Git - thirdparty/xz.git/commit
xz: Do not include block splitting if encoders are disabled.
authorJia Tan <jiat0218@gmail.com>
Wed, 10 May 2023 13:50:33 +0000 (21:50 +0800)
committerJia Tan <jiat0218@gmail.com>
Mon, 17 Jul 2023 15:34:55 +0000 (23:34 +0800)
commit479fd58d60622331fcbe48fddf756927b9f80d9a
tree4de4984311f304ca6dc858040d5cdcdbcd46a2ce
parentf86ede22500f7ae024ec3ec3f3489ab5a857a3b3
xz: Do not include block splitting if encoders are disabled.

The block splitting logic and split_block() function are not needed if
encoders are disabled. This will help slightly reduce the binary size
when built without encoders and allow split_block() to use functions
that require encoders being enabled.
src/xz/coder.c