summaryrefslogtreecommitdiffstats
path: root/keyserver
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 /keyserver
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 'keyserver')
-rw-r--r--keyserver/ChangeLog5
-rw-r--r--keyserver/curl-shim.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/keyserver/ChangeLog b/keyserver/ChangeLog
index 05919363c..0530d36f8 100644
--- a/keyserver/ChangeLog
+++ b/keyserver/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-20 Werner Koch <wk@g10code.com>
+
+ * curl-shim.c (curl_global_init): Mark usused arg.
+ (curl_version_info): Ditto.
+
2008-08-29 Werner Koch <wk@g10code.com>
* gpgkeys_kdns.c: Changed copyright notice to the FSF.
diff --git a/keyserver/curl-shim.c b/keyserver/curl-shim.c
index dfa3d1e3c..0c8bfdc9b 100644
--- a/keyserver/curl-shim.c
+++ b/keyserver/curl-shim.c
@@ -78,6 +78,7 @@ handle_error(CURL *curl,CURLcode err,const char *str)
CURLcode
curl_global_init(long flags)
{
+ (void)flags;
return CURLE_OK;
}
@@ -340,6 +341,8 @@ curl_version_info(int type)
static curl_version_info_data data;
static const char *protocols[]={"http",NULL};
+ (void)type;
+
data.protocols=protocols;
return &data;