From bec3b479dcae1345a466ebe923989b0bd56fd5b6 Mon Sep 17 00:00:00 2001 From: Igor Pavlov Date: Fri, 20 May 2016 00:00:00 +0000 Subject: 16.01 --- C/Lzma86Dec.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'C/Lzma86Dec.c') diff --git a/C/Lzma86Dec.c b/C/Lzma86Dec.c index 7d89b2fc..21031745 100644 --- a/C/Lzma86Dec.c +++ b/C/Lzma86Dec.c @@ -1,5 +1,5 @@ /* Lzma86Dec.c -- LZMA + x86 (BCJ) Filter Decoder -2015-11-08 : Igor Pavlov : Public domain */ +2016-05-16 : Igor Pavlov : Public domain */ #include "Precomp.h" @@ -9,9 +9,6 @@ #include "Bra.h" #include "LzmaDec.h" -static void *SzAlloc(void *p, size_t size) { UNUSED_VAR(p); return MyAlloc(size); } -static void SzFree(void *p, void *address) { UNUSED_VAR(p); MyFree(address); } - SRes Lzma86_GetUnpackSize(const Byte *src, SizeT srcLen, UInt64 *unpackSize) { unsigned i; @@ -25,7 +22,6 @@ SRes Lzma86_GetUnpackSize(const Byte *src, SizeT srcLen, UInt64 *unpackSize) SRes Lzma86_Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen) { - ISzAlloc g_Alloc = { SzAlloc, SzFree }; SRes res; int useFilter; SizeT inSizePure; -- cgit v1.2.3