From: Dan Fandrich Date: Mon, 30 Jul 2007 17:05:39 +0000 (+0000) Subject: Fixed compiler warning on non-SSL builds X-Git-Tag: curl-7_17_0-preldapfix~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea908c23ae598be7132448beece49196b2f7cf60;p=curl Fixed compiler warning on non-SSL builds --- diff --git a/lib/sslgen.c b/lib/sslgen.c index b452d504f..7410a00de 100644 --- a/lib/sslgen.c +++ b/lib/sslgen.c @@ -451,6 +451,10 @@ void Curl_ssl_close(struct connectdata *conn, int sockindex) #ifdef USE_QSOSSL Curl_qsossl_close(conn, sockindex); #endif /* USE_QSOSSL */ +#ifndef USE_SSL + (void)conn; + (void)sockindex; +#endif /* !USE_SSL */ } CURLcode Curl_ssl_shutdown(struct connectdata *conn, int sockindex)