summaryrefslogtreecommitdiffstats
path: root/common/asshelp.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2008-10-20 15:53:23 +0200
committerWerner Koch <wk@gnupg.org>2008-10-20 15:53:23 +0200
commit0a5f7424660e404e5fd0361b9331d154acf01d6c (patch)
treeb84fb5a994045e12eb326441d8c924094bd915cd /common/asshelp.c
parentFix a bug in estream_snprintf. Found by a failed t-gettime under Windows. (diff)
downloadgnupg2-0a5f7424660e404e5fd0361b9331d154acf01d6c.tar.xz
gnupg2-0a5f7424660e404e5fd0361b9331d154acf01d6c.zip
Marked all unused args on non-W32 platforms.
Diffstat (limited to 'common/asshelp.c')
-rw-r--r--common/asshelp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/asshelp.c b/common/asshelp.c
index 99da71a22..6663241ae 100644
--- a/common/asshelp.c
+++ b/common/asshelp.c
@@ -42,6 +42,8 @@ send_one_option (assuan_context_t ctx, gpg_err_source_t errsource,
gpg_error_t err;
char *optstr;
+ (void)errsource;
+
if (!value || !*value)
err = 0; /* Avoid sending empty strings. */
else if (asprintf (&optstr, "OPTION %s=%s", name, value ) < 0)