summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/common/lzma/LzmaEnc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/common/lzma/LzmaEnc.c b/usr/src/common/lzma/LzmaEnc.c
index c8cb228955..0d857945f1 100644
--- a/usr/src/common/lzma/LzmaEnc.c
+++ b/usr/src/common/lzma/LzmaEnc.c
@@ -1918,12 +1918,12 @@ static SRes LzmaEnc_CodeOneBlock(CLzmaEnc *p, Bool useLimits, UInt32 maxPackSize
static SRes LzmaEnc_Alloc(CLzmaEnc *p, UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig)
{
UInt32 beforeSize = kNumOpts;
- Bool btMode;
+
if (!RangeEnc_Alloc(&p->rc, alloc))
return SZ_ERROR_MEM;
- btMode = (p->matchFinderBase.btMode != 0);
#ifdef COMPRESS_MF_MT
- p->mtMode = (p->multiThread && !p->fastMode && btMode);
+ p->mtMode = (p->multiThread && !p->fastMode &&
+ (p->matchFinderBase.btMode != 0));
#endif
{