From a79b541bd219bf97bfcd56045dfe3cdc0b8e0b67 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 31 Jul 2000 21:31:27 +0000 Subject: [PATCH] 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. --- lib/url.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/url.c b/lib/url.c index 3930da5..b8e6283 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); -- 2.7.4