From 01e1dcb7c48ee9abe702ea9625a73b5e7c5ed31a Mon Sep 17 00:00:00 2001 From: Michihiro NAKAJIMA Date: Sun, 8 Nov 2009 14:54:20 -0500 Subject: [PATCH] Value stored to 'target_block_length' is never read. Found by Clang Static Analyzer. SVN-Revision: 1606 --- libarchive/archive_write_set_compression_bzip2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libarchive/archive_write_set_compression_bzip2.c b/libarchive/archive_write_set_compression_bzip2.c index 17f6a0a4d..c85db9295 100644 --- a/libarchive/archive_write_set_compression_bzip2.c +++ b/libarchive/archive_write_set_compression_bzip2.c @@ -291,7 +291,6 @@ archive_compressor_bzip2_finish(struct archive_write *a) block_length = state->stream.next_out - state->compressed; /* Tricky calculation to determine size of last block. */ - target_block_length = block_length; if (a->bytes_in_last_block <= 0) /* Default or Zero: pad to full block */ target_block_length = a->bytes_per_block; -- 2.47.3