summaryrefslogtreecommitdiffstats
path: root/lib/libarchive
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-07-24 20:43:22 +0000
committerkientzle <kientzle@FreeBSD.org>2004-07-24 20:43:22 +0000
commit162b40dded9765e1d089ff164071a4c742621210 (patch)
treea130bfabe3ce3c38804fce157e6caf9b10284ddc /lib/libarchive
parentd562529468e92ddb8606acf6562941b4265d68c1 (diff)
downloadFreeBSD-src-162b40dded9765e1d089ff164071a4c742621210.zip
FreeBSD-src-162b40dded9765e1d089ff164071a4c742621210.tar.gz
Suppress a minor compiler warning if the platform doesn't support hi-res
timestamps.
Diffstat (limited to 'lib/libarchive')
-rw-r--r--lib/libarchive/archive_entry.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libarchive/archive_entry.c b/lib/libarchive/archive_entry.c
index 71e950f..737eb4a 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));
}
OpenPOWER on IntegriCloud