summaryrefslogtreecommitdiffstats
path: root/lib/libarchive
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2009-12-28 02:29:21 +0000
committerkientzle <kientzle@FreeBSD.org>2009-12-28 02:29:21 +0000
commitd9802a8c44e50ae9130ebab29fd38b01ac2d6022 (patch)
tree59ce127fe2f90ae17b14ee3d0a30ec836274c5f5 /lib/libarchive
parent0ce60e88585927fbd1fa9091e99da0b4694b6d28 (diff)
downloadFreeBSD-src-d9802a8c44e50ae9130ebab29fd38b01ac2d6022.zip
FreeBSD-src-d9802a8c44e50ae9130ebab29fd38b01ac2d6022.tar.gz
Eliminate an unused assignment.
Diffstat (limited to 'lib/libarchive')
-rw-r--r--lib/libarchive/archive_read_support_compression_compress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libarchive/archive_read_support_compression_compress.c b/lib/libarchive/archive_read_support_compression_compress.c
index e115d25..c6d4e85 100644
--- a/lib/libarchive/archive_read_support_compression_compress.c
+++ b/lib/libarchive/archive_read_support_compression_compress.c
@@ -229,8 +229,8 @@ compress_bidder_init(struct archive_read_filter *self)
/* XXX MOVE THE FOLLOWING OUT OF INIT() XXX */
- code = getbits(self, 8); /* Skip first signature byte. */
- code = getbits(self, 8); /* Skip second signature byte. */
+ (void)getbits(self, 8); /* Skip first signature byte. */
+ (void)getbits(self, 8); /* Skip second signature byte. */
code = getbits(self, 8);
state->maxcode_bits = code & 0x1f;
OpenPOWER on IntegriCloud