aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-11-09 18:09:58 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-11-09 18:09:58 +0000
commitbfc63bfb19bb32cb87dfa161acdba077589b90c3 (patch)
tree9a1f112b5784ecddf042244ce52da50bbd520d3b
parent95c7cfb0259177c45a24f28afaa5732d84db2d90 (diff)
vtls.h: Fixed compiler warning when compiled without SSL
vtls.c:185:46: warning: unused parameter 'data'
-rw-r--r--lib/vtls/vtls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/vtls.h b/lib/vtls/vtls.h
index 99965156d..f0adc76ff 100644
--- a/lib/vtls/vtls.h
+++ b/lib/vtls/vtls.h
@@ -134,7 +134,7 @@ CURLcode Curl_pin_peer_pubkey(const char *pinnedpubkey,
#define Curl_ssl_free_certinfo(x) Curl_nop_stmt
#define Curl_ssl_connect_nonblocking(x,y,z) CURLE_NOT_BUILT_IN
#define Curl_ssl_kill_session(x) Curl_nop_stmt
-#define Curl_ssl_random(x,y,z) CURLE_NOT_BUILT_IN
+#define Curl_ssl_random(x,y,z) ((void)x, CURLE_NOT_BUILT_IN)
#define CURL_SSL_BACKEND CURLSSLBACKEND_NONE
#endif