From 9132ce3564b2c003bffd6de6294a3d98dccf314e Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 12 May 2024 21:42:05 +0300 Subject: [PATCH] xz: Edit coding style (cherry picked from commit b54aa023e0ec291b06e976e5f094ab0549e7b09b) --- src/xz/coder.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xz/coder.c b/src/xz/coder.c index b2d2c7d9..c806f244 100644 --- a/src/xz/coder.c +++ b/src/xz/coder.c @@ -689,8 +689,8 @@ coder_set_compression_settings(void) r->lzma_idx = j; r->reduce_dict_size = true; - lzma_options_lzma *opt = r->filters - [r->lzma_idx].options; + lzma_options_lzma *opt + = r->filters[r->lzma_idx].options; r->orig_dict_size = opt->dict_size; opt->dict_size &= ~((UINT32_C(1) << 20) - 1); } @@ -1114,8 +1114,8 @@ split_block(uint64_t *block_remaining, // Update the filters if needed. if (opt_block_list[*list_pos - 1].chain_num != opt_block_list[*list_pos].chain_num) { - const unsigned chain_idx = opt_block_list - [*list_pos].chain_num; + const unsigned chain_idx + = opt_block_list[*list_pos].chain_num; const lzma_filter *next = chains[chain_idx]; const lzma_ret ret = lzma_filters_update( &strm, next);