From: Quim Rovira Date: Sun, 14 Aug 2016 09:05:42 +0000 (+0200) Subject: Remove unuser var total_out X-Git-Tag: 0.002~30 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=290375682f0e348699a8250e1176e9db71e5e54c;hp=782ccd86a3af112c4e27c2319607c2dc451cf6c5;p=io-compress-brotli.git Remove unuser var total_out --- diff --git a/Brotli.xs b/Brotli.xs index 92b4809..9eb25e2 100644 --- a/Brotli.xs +++ b/Brotli.xs @@ -51,7 +51,7 @@ SV* BrotliDecoderDecompressStream(state, in) SV* in PREINIT: uint8_t *next_in, *next_out; - size_t available_in, available_out, total_out; + size_t available_in, available_out; BrotliDecoderResult result; CODE: next_in = (uint8_t*) SvPV(in, available_in); @@ -65,7 +65,7 @@ SV* BrotliDecoderDecompressStream(state, in) (const uint8_t**) &next_in, &available_out, &next_out, - &total_out ); + NULL ); if(!result){ croak("Error in BrotliDecoderDecompressStream"); }