diff options
-rw-r--r-- | lib/sslgen.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) |