diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-07-30 17:05:39 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-07-30 17:05:39 +0000 |
commit | ea908c23ae598be7132448beece49196b2f7cf60 (patch) | |
tree | 5fc2e95fe190d6e650c13d5acb683b70a22f3767 /lib | |
parent | 844cbc701acf6003be1caa5c898c2ccf2a776ac6 (diff) |
Fixed compiler warning on non-SSL builds
Diffstat (limited to 'lib')
-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) |