svn commit: r201081 - head/lib/libarchive

Tim Kientzle kientzle at FreeBSD.org
Mon Dec 28 02:04:42 UTC 2009


Author: kientzle
Date: Mon Dec 28 02:04:42 2009
New Revision: 201081
URL: http://svn.freebsd.org/changeset/base/201081

Log:
  Remove a dead assignment.

Modified:
  head/lib/libarchive/archive_write_set_compression_gzip.c

Modified: head/lib/libarchive/archive_write_set_compression_gzip.c
==============================================================================
--- head/lib/libarchive/archive_write_set_compression_gzip.c	Mon Dec 28 02:03:54 2009	(r201080)
+++ head/lib/libarchive/archive_write_set_compression_gzip.c	Mon Dec 28 02:04:42 2009	(r201081)
@@ -365,7 +365,6 @@ archive_compressor_gzip_finish(struct ar
 		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;


More information about the svn-src-head mailing list