summaryrefslogtreecommitdiffstats
path: root/keyserver/curl-shim.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 /keyserver/curl-shim.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 'keyserver/curl-shim.c')
-rw-r--r--keyserver/curl-shim.c3
1 files changed, 3 insertions, 0 deletions
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;