diff options
author | Tim Kientzle <kientzle@FreeBSD.org> | 2004-07-24 20:43:22 +0000 |
---|---|---|
committer | Tim Kientzle <kientzle@FreeBSD.org> | 2004-07-24 20:43:22 +0000 |
commit | c91b82e3e5dacb213faab83b959030e185d99097 (patch) | |
tree | a130bfabe3ce3c38804fce157e6caf9b10284ddc /lib/libarchive | |
parent | 9933c7cb7b4ea75bfb24185c789df90d48ebb31e (diff) | |
download | src-c91b82e3e5dacb213faab83b959030e185d99097.tar.gz src-c91b82e3e5dacb213faab83b959030e185d99097.zip |
Suppress a minor compiler warning if the platform doesn't support hi-res
timestamps.
Notes
Notes:
svn path=/head/; revision=132613
Diffstat (limited to 'lib/libarchive')
-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 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)); } |