aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/delta_coder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/common/delta_coder.c')
-rw-r--r--src/liblzma/common/delta_coder.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/liblzma/common/delta_coder.c b/src/liblzma/common/delta_coder.c
index ec8c6d59..8a5a18b4 100644
--- a/src/liblzma/common/delta_coder.c
+++ b/src/liblzma/common/delta_coder.c
@@ -179,14 +179,8 @@ delta_coder_init(lzma_next_coder *next, lzma_allocator *allocator,
memzero(next->coder->history, LZMA_DELTA_DISTANCE_MAX);
// Initialize the next decoder in the chain, if any.
- {
- const lzma_ret ret = lzma_next_filter_init(&next->coder->next,
+ return lzma_next_filter_init(&next->coder->next,
allocator, filters + 1);
- if (ret != LZMA_OK)
- return ret;
- }
-
- return LZMA_OK;
}