]> granicus.if.org Git - curl/commitdiff
vtls.h: Fixed compiler warning when compiled without SSL
authorSteve Holme <steve_holme@hotmail.com>
Sun, 9 Nov 2014 18:09:58 +0000 (18:09 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 9 Nov 2014 18:09:58 +0000 (18:09 +0000)
vtls.c:185:46: warning: unused parameter 'data'

lib/vtls/vtls.h

index 99965156d75d707ec50979f5e46c01ae39e5c386..f0adc76ff2673dc9b190a197a199d63b5969b499 100644 (file)
@@ -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