From: Tim Kientzle Date: Sun, 7 Dec 2008 11:39:00 +0000 (-0500) Subject: Fix compile warnings building libarchive without Gzip support. X-Git-Tag: v2.6.0~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5a70891ebed56a056500a30c543816b5b66217d;p=thirdparty%2Flibarchive.git Fix compile warnings building libarchive without Gzip support. Submitted by: Diego Petten\242 SVN-Revision: 269 --- diff --git a/libarchive/archive_read_support_compression_gzip.c b/libarchive/archive_read_support_compression_gzip.c index 2506fa3d2..c99adf48d 100644 --- a/libarchive/archive_read_support_compression_gzip.c +++ b/libarchive/archive_read_support_compression_gzip.c @@ -168,6 +168,8 @@ gzip_reader_init(struct archive_read *a, struct archive_reader *reader, struct archive_read_source *upstream, const void *buff, size_t n) { (void)a; /* UNUSED */ + (void)reader; /* UNUSED */ + (void)upstream; /* UNUSED */ (void)buff; /* UNUSED */ (void)n; /* UNUSED */