aboutsummaryrefslogtreecommitdiffstats
path: root/common/sysutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/sysutils.c')
-rw-r--r--common/sysutils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/sysutils.c b/common/sysutils.c
index 5e550b43a..0f1857ee3 100644
--- a/common/sysutils.c
+++ b/common/sysutils.c
@@ -299,6 +299,7 @@ translate_sys2libc_fd (gnupg_fd_t fd, int for_write)
log_error ("failed to translate osfhandle %p\n", (void *) fd);
return x;
#else /*!HAVE_W32_SYSTEM */
+ (void)for_write;
return fd;
#endif
}
@@ -314,6 +315,7 @@ translate_sys2libc_fd_int (int fd, int for_write)
return translate_sys2libc_fd ((void*)fd, for_write);
#else
+ (void)for_write;
return fd;
#endif
}