Merge pull request #416 from sylvestre/master

Remove some deadcode
This commit is contained in:
Eugene Kliuchnikov 2016-08-23 10:32:05 +02:00 committed by GitHub
commit 2032f41ffa

View File

@ -2039,10 +2039,8 @@ BrotliDecoderResult BrotliDecoderDecompressStream(
s->state = BROTLI_STATE_HUFFMAN_CODE_0;
break;
case BROTLI_STATE_UNCOMPRESSED: {
int bytes_copied = s->meta_block_remaining_len;
result = CopyUncompressedBlockToOutput(
available_out, next_out, total_out, s);
bytes_copied -= s->meta_block_remaining_len;
if (result != BROTLI_DECODER_SUCCESS) {
break;
}