aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-28 21:29:26 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-28 23:32:07 +0000
commitcfc863869f3d5ec9f230108ef71064e80e911ae7 (patch)
tree707210def4b8e248263dc2b0c8e7bc013acbcfaa /lib
parent40887217260c4aa112a6c168d6265d8b371fdff1 (diff)
darwinssl: Fixed compilation warning
vtls.c:683:43: warning: unused parameter 'data'
Diffstat (limited to 'lib')
-rw-r--r--lib/vtls/curl_darwinssl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/vtls/curl_darwinssl.h b/lib/vtls/curl_darwinssl.h
index bcb1c741d..042c8da2d 100644
--- a/lib/vtls/curl_darwinssl.h
+++ b/lib/vtls/curl_darwinssl.h
@@ -8,6 +8,7 @@
* \___|\___/|_| \_\_____|
*
* Copyright (C) 2012 - 2014, Nick Zitzmann, <nickzman@gmail.com>.
+ * Copyright (C) 2012 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -66,7 +67,7 @@ void Curl_darwinssl_md5sum(unsigned char *tmp, /* input */
#define curlssl_version Curl_darwinssl_version
#define curlssl_check_cxn Curl_darwinssl_check_cxn
#define curlssl_data_pending(x,y) Curl_darwinssl_data_pending(x, y)
-#define curlssl_random(x,y,z) Curl_darwinssl_random(y,z)
+#define curlssl_random(x,y,z) ((void)x, Curl_darwinssl_random(y,z))
#define curlssl_md5sum(a,b,c,d) Curl_darwinssl_md5sum(a,b,c,d)
#define CURL_SSL_BACKEND CURLSSLBACKEND_DARWINSSL