From: Steve Holme Date: Sun, 28 Dec 2014 21:29:26 +0000 (+0000) Subject: darwinssl: Fixed compilation warning X-Git-Tag: curl-7_40_0~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cfc863869f3d5ec9f230108ef71064e80e911ae7;p=curl darwinssl: Fixed compilation warning vtls.c:683:43: warning: unused parameter 'data' --- 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, . + * Copyright (C) 2012 - 2014, Daniel Stenberg, , 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