diff options
author | Werner Koch <[email protected]> | 2008-10-20 13:53:23 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2008-10-20 13:53:23 +0000 |
commit | 0a5f7424660e404e5fd0361b9331d154acf01d6c (patch) | |
tree | b84fb5a994045e12eb326441d8c924094bd915cd /common/sysutils.c | |
parent | Fix a bug in estream_snprintf. Found by a failed t-gettime under Windows. (diff) | |
download | gnupg-0a5f7424660e404e5fd0361b9331d154acf01d6c.tar.gz gnupg-0a5f7424660e404e5fd0361b9331d154acf01d6c.zip |
Marked all unused args on non-W32 platforms.
Diffstat (limited to 'common/sysutils.c')
-rw-r--r-- | common/sysutils.c | 2 |
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 } |