summaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-08-08 21:12:43 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-08-08 21:34:05 +0100
commitcda4aaba4dc403303b0c430ecc739ed68f213f83 (patch)
tree9f63bf8d2e4511684997d0557b1f5654c3dca4d4 /lib/vtls
parentea864fb24d0b703f9571bf6231e0e3e945747fc5 (diff)
downloadcurl-cda4aaba4dc403303b0c430ecc739ed68f213f83.tar.gz
schannel: Fixed compilation warning in vtls.c
vtls.c:688:43: warning: unused parameter 'data'
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/curl_schannel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/vtls/curl_schannel.h b/lib/vtls/curl_schannel.h
index aac25db83..700516b35 100644
--- a/lib/vtls/curl_schannel.h
+++ b/lib/vtls/curl_schannel.h
@@ -131,6 +131,7 @@ int Curl_schannel_random(unsigned char *entropy, size_t length);
#define curlssl_check_cxn(x) (x=x, -1)
#define curlssl_data_pending Curl_schannel_data_pending
#define CURL_SSL_BACKEND CURLSSLBACKEND_SCHANNEL
-#define curlssl_random(x,y,z) Curl_schannel_random(y,z)
+#define curlssl_random(x,y,z) ((void)x, Curl_schannel_random(y,z))
+
#endif /* USE_SCHANNEL */
#endif /* HEADER_CURL_SCHANNEL_H */