mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 04:12:51 +00:00
Suppress a minor compiler warning if the platform doesn't support hi-res
timestamps.
This commit is contained in:
parent
9933c7cb7b
commit
c91b82e3e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132613
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user