From 0a5f7424660e404e5fd0361b9331d154acf01d6c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 20 Oct 2008 13:53:23 +0000 Subject: Marked all unused args on non-W32 platforms. --- common/sysutils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/sysutils.c') 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 } -- cgit v1.2.3