From: Darren Tucker Date: Mon, 17 Feb 2020 11:51:00 +0000 (+1100) Subject: Prevent unused variable warning. X-Git-Tag: V_8_3_P1~151 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41a2e64ae480eda73ee0e809bbe743d203890938;p=thirdparty%2Fopenssh-portable.git Prevent unused variable warning. --- diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c index 829e0c075..059b6d3b3 100644 --- a/openbsd-compat/bsd-misc.c +++ b/openbsd-compat/bsd-misc.c @@ -129,7 +129,9 @@ utimensat(int fd, const char *path, const struct timespec times[2], int flag) { struct timeval tv[2]; +# ifdef HAVE_FUTIMES int ret, oflags = O_WRONLY; +# endif tv[0].tv_sec = times[0].tv_sec; tv[0].tv_usec = times[0].tv_nsec / 1000;