]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix compile warnings building libarchive without Gzip support.
authorTim Kientzle <kientzle@gmail.com>
Sun, 7 Dec 2008 11:39:00 +0000 (06:39 -0500)
committerTim Kientzle <kientzle@gmail.com>
Sun, 7 Dec 2008 11:39:00 +0000 (06:39 -0500)
Submitted by:   Diego Petten\242

SVN-Revision: 269

libarchive/archive_read_support_compression_gzip.c

index 2506fa3d24e68b0ae737926041cc172b10e84508..c99adf48dfa406abfd810f1ccd550819aefe128a 100644 (file)
@@ -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 */