From 202189ff2c832bf39e7e6d9a6b8b2c980cc4201b Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Fri, 6 Oct 2017 19:01:19 +0200 Subject: vtls: fix warnings with --disable-crypto-auth When CURL_DISABLE_CRYPTO_AUTH is defined, Curl_none_md5sum's parameters are not used. --- lib/vtls/vtls.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/vtls') diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c index f95652520..e1cae1b40 100644 --- a/lib/vtls/vtls.c +++ b/lib/vtls/vtls.c @@ -1080,6 +1080,10 @@ CURLcode Curl_none_md5sum(unsigned char *input UNUSED_PARAM, unsigned char *md5sum UNUSED_PARAM, size_t md5len UNUSED_PARAM) { + (void)input; + (void)inputlen; + (void)md5sum; + (void)md5len; return CURLE_NOT_BUILT_IN; } #endif -- cgit v1.2.3