mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 16:24:39 +02:00
Prevent unused variable warning.
This commit is contained in:
parent
d4860ec4ef
commit
41a2e64ae4
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user