X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Flzms-compress.c;h=a18da5781842b12f892b51ef94eebbe9e7f433f1;hp=72aef31b14fda69dd530bb7c5bc8e1cfaeccd92b;hb=1dbfb8e36f81ced8474ce048c2d0e18ac07de60d;hpb=41f15b937564a3ae58f199c27e8290a1b1a40856 diff --git a/src/lzms-compress.c b/src/lzms-compress.c index 72aef31b..a18da578 100644 --- a/src/lzms-compress.c +++ b/src/lzms-compress.c @@ -993,7 +993,6 @@ lzms_init_compressor(struct lzms_compressor *ctx, const u8 *udata, u32 ulen, /* Copy the uncompressed data into the @ctx->window buffer. */ memcpy(ctx->window, udata, ulen); - memset(&ctx->window[ulen], 0, 8); ctx->cur_window_pos = 0; ctx->window_size = ulen;