From: Michihiro NAKAJIMA Date: Sun, 11 Nov 2012 11:31:08 +0000 (+0900) Subject: Fix build failure without HAVE_UTIMES. X-Git-Tag: v3.1.0~39^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59233211bf29c43d88f323e7d9403c2dc914ddb2;p=thirdparty%2Flibarchive.git Fix build failure without HAVE_UTIMES. --- diff --git a/libarchive/archive_read_disk_posix.c b/libarchive/archive_read_disk_posix.c index 2a9ab68c4..a13dbbf81 100644 --- a/libarchive/archive_read_disk_posix.c +++ b/libarchive/archive_read_disk_posix.c @@ -1901,7 +1901,8 @@ static int close_and_restore_time(int fd, struct tree *t, struct restore_time *rt) { #ifndef HAVE_UTIMES - (void)a; /* UNUSED */ + (void)t; /* UNUSED */ + (void)rt; /* UNUSED */ return (close(fd)); #else #if defined(HAVE_FUTIMENS) && !defined(__CYGWIN__)