From: Daniel Stenberg Date: Mon, 31 Jul 2000 21:31:27 +0000 (+0000) Subject: made urlfree static, added (void) in front of one of the SSL calls. I did X-Git-Tag: curl-7_1_1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a79b541bd219bf97bfcd56045dfe3cdc0b8e0b67;p=thirdparty%2Fcurl.git made urlfree static, added (void) in front of one of the SSL calls. I did these changes when trying to run lclint on the curl code. --- diff --git a/lib/url.c b/lib/url.c index 3930da5e24..b8e62838ef 100644 --- a/lib/url.c +++ b/lib/url.c @@ -142,12 +142,12 @@ void curl_free(void) { } -void urlfree(struct UrlData *data, bool totally) +void static urlfree(struct UrlData *data, bool totally) { #ifdef USE_SSLEAY if (data->use_ssl) { if(data->ssl) { - SSL_shutdown(data->ssl); + (void)SSL_shutdown(data->ssl); SSL_set_connect_state(data->ssl); SSL_free (data->ssl);