]> git.ipfire.org Git - thirdparty/xz.git/commit
xz: Minor clean up for coder.c
authorJia Tan <jiat0218@gmail.com>
Thu, 13 Jul 2023 13:46:12 +0000 (21:46 +0800)
committerJia Tan <jiat0218@gmail.com>
Mon, 17 Jul 2023 15:34:55 +0000 (23:34 +0800)
commitf907705eb1f6c5edaafc9668a34c51a989932f1d
tree5a738f842c3a753258556854f7578108ad4f636e
parent9adc9e56157ecbf2948e5036df8567809b9ae177
xz: Minor clean up for coder.c

* Moved max_block_list_size from a global to local variable.
* Reworded error message in validate_block_list_filter().
* Removed helper function filter_chain_error().
* Changed 1 << X to 1U << X in many places
src/xz/coder.c