Prevent unused variable warning.

This commit is contained in:
Darren Tucker 2020-02-17 22:51:00 +11:00
parent d4860ec4ef
commit 41a2e64ae4
1 changed files with 2 additions and 0 deletions

View File

@ -129,7 +129,9 @@ utimensat(int fd, const char *path, const struct timespec times[2],
int flag) int flag)
{ {
struct timeval tv[2]; struct timeval tv[2];
# ifdef HAVE_FUTIMES
int ret, oflags = O_WRONLY; int ret, oflags = O_WRONLY;
# endif
tv[0].tv_sec = times[0].tv_sec; tv[0].tv_sec = times[0].tv_sec;
tv[0].tv_usec = times[0].tv_nsec / 1000; tv[0].tv_usec = times[0].tv_nsec / 1000;