Suppress a minor compiler warning if the platform doesn't support hi-res

timestamps.
This commit is contained in:
Tim Kientzle 2004-07-24 20:43:22 +00:00
parent 9933c7cb7b
commit c91b82e3e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132613

View File

@ -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));
}