From: Marcel Raad Date: Fri, 6 Oct 2017 17:01:19 +0000 (+0200) Subject: vtls: fix warnings with --disable-crypto-auth X-Git-Tag: curl-7_56_1~59 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=202189ff2c832bf39e7e6d9a6b8b2c980cc4201b;p=thirdparty%2Fcurl.git vtls: fix warnings with --disable-crypto-auth When CURL_DISABLE_CRYPTO_AUTH is defined, Curl_none_md5sum's parameters are not used. --- diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c index f956525208..e1cae1b404 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