From 671a5adf1e844bfdd6fd327016c3c28694493158 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Mon, 15 Dec 2008 19:39:13 +0200 Subject: Bunch of liblzma API cleanups and fixes. --- src/liblzma/lzma/lzma2_encoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/liblzma/lzma') diff --git a/src/liblzma/lzma/lzma2_encoder.c b/src/liblzma/lzma/lzma2_encoder.c index 46912c3f..09a2f2e9 100644 --- a/src/liblzma/lzma/lzma2_encoder.c +++ b/src/liblzma/lzma/lzma2_encoder.c @@ -369,11 +369,11 @@ lzma_lzma2_encoder_init(lzma_next_coder *next, lzma_allocator *allocator, extern uint64_t lzma_lzma2_encoder_memusage(const void *options) { - const uint64_t lzma_memusage = lzma_lzma_encoder_memusage(options); - if (lzma_memusage == UINT64_MAX) + const uint64_t lzma_mem = lzma_lzma_encoder_memusage(options); + if (lzma_mem == UINT64_MAX) return UINT64_MAX; - return sizeof(lzma_coder) + lzma_memusage; + return sizeof(lzma_coder) + lzma_mem; } -- cgit v1.2.3