]> iEval git - io-compress-brotli.git/blobdiff - Brotli.xs
Remove unuser var total_out
[io-compress-brotli.git] / Brotli.xs
index a14b828c089dc170df4e576f32b2d8da4b7b3fbb..9eb25e257b3a52c4a2546f6719421e29c244dd22 100644 (file)
--- 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);
@@ -60,7 +60,12 @@ SV* BrotliDecoderDecompressStream(state, in)
     while(result == BROTLI_RESULT_NEEDS_MORE_OUTPUT) {
         next_out = buffer;
         available_out=BUFFER_SIZE;
-        result = BrotliDecoderDecompressStream((BrotliDecoderState*) SvIV(state), &available_in, (const uint8_t**) &next_in, &available_out, &next_out, &total_out);
+        result = BrotliDecoderDecompressStream( (BrotliDecoderState*) SvIV(state),
+                                                &available_in,
+                                                (const uint8_t**) &next_in,
+                                                &available_out,
+                                                &next_out,
+                                                NULL );
         if(!result){
              croak("Error in BrotliDecoderDecompressStream");
         }
This page took 0.020934 seconds and 4 git commands to generate.