summaryrefslogtreecommitdiffstats
path: root/g10/cpr.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 /g10/cpr.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 'g10/cpr.c')
-rw-r--r--g10/cpr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/cpr.c b/g10/cpr.c
index 83f0ccb4d..a1e904e07 100644
--- a/g10/cpr.c
+++ b/g10/cpr.c
@@ -48,6 +48,8 @@ progress_cb (void *ctx, const char *what, int printchar,
{
char buf[50];
+ (void)ctx;
+
if ( printchar == '\n' && !strcmp (what, "primegen") )
snprintf (buf, sizeof buf -1, "%.20s X 100 100", what );
else