From c91b82e3e5dacb213faab83b959030e185d99097 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 24 Jul 2004 20:43:22 +0000 Subject: [PATCH] Suppress a minor compiler warning if the platform doesn't support hi-res timestamps. --- lib/libarchive/archive_entry.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libarchive/archive_entry.c b/lib/libarchive/archive_entry.c index 71e950fad9c4..737eb4adab20 100644 --- a/lib/libarchive/archive_entry.c +++ b/lib/libarchive/archive_entry.c @@ -347,6 +347,7 @@ archive_entry_atime(struct archive_entry *entry) long archive_entry_atime_nsec(struct archive_entry *entry) { + (void)entry; /* entry can be unused here. */ return (ARCHIVE_STAT_ATIME_NANOS(&entry->ae_stat)); } @@ -435,6 +436,7 @@ archive_entry_mtime(struct archive_entry *entry) long archive_entry_mtime_nsec(struct archive_entry *entry) { + (void)entry; /* entry can be unused here. */ return (ARCHIVE_STAT_MTIME_NANOS(&entry->ae_stat)); }