diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-07-24 20:43:22 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-07-24 20:43:22 +0000 |
commit | 162b40dded9765e1d089ff164071a4c742621210 (patch) | |
tree | a130bfabe3ce3c38804fce157e6caf9b10284ddc /lib/libarchive/archive_entry.c | |
parent | d562529468e92ddb8606acf6562941b4265d68c1 (diff) | |
download | FreeBSD-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/archive_entry.c')
-rw-r--r-- | lib/libarchive/archive_entry.c | 2 |
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)); } |