mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
liblzma: Use the return_if_error() macro in alone_decoder.c.
This commit is contained in:
parent
3f4990b682
commit
8779a9db5d
1 changed files with 2 additions and 4 deletions
|
@ -139,10 +139,8 @@ alone_decode(void *coder_ptr, const lzma_allocator *allocator,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const lzma_ret ret = lzma_next_filter_init(&coder->next,
|
return_if_error(lzma_next_filter_init(&coder->next,
|
||||||
allocator, filters);
|
allocator, filters));
|
||||||
if (ret != LZMA_OK)
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
// Use a hack to set the uncompressed size.
|
// Use a hack to set the uncompressed size.
|
||||||
lzma_lz_decoder_uncompressed(coder->next.coder,
|
lzma_lz_decoder_uncompressed(coder->next.coder,
|
||||||
|
|
Loading…
Reference in a new issue