]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix build failure without HAVE_UTIMES.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 11 Nov 2012 11:31:08 +0000 (20:31 +0900)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 11 Nov 2012 11:31:08 +0000 (20:31 +0900)
libarchive/archive_read_disk_posix.c

index 2a9ab68c4f482aeea219c9f9b6605124ab50d7ed..a13dbbf812cfb1e2616243ede7286a0ae27bf3fe 100644 (file)
@@ -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__)