Fossil SCM
Fix a compiler warning in the SSL module.
Commit
582570708805dc413595d11199161a8e3fe1f425
Parent
672d5c6fd09be99…
1 file changed
+1
-1
+1
-1
| --- src/http_ssl.c | ||
| +++ src/http_ssl.c | ||
| @@ -111,11 +111,11 @@ | ||
| 111 | 111 | ** Close the currently open SSL connection. If no connection is open, |
| 112 | 112 | ** this routine is a no-op. |
| 113 | 113 | */ |
| 114 | 114 | void ssl_close(void){ |
| 115 | 115 | if( iBio!=NULL ){ |
| 116 | - BIO_reset(iBio); | |
| 116 | + (void)BIO_reset(iBio); | |
| 117 | 117 | BIO_free_all(iBio); |
| 118 | 118 | } |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | 121 | /* |
| 122 | 122 |
| --- src/http_ssl.c | |
| +++ src/http_ssl.c | |
| @@ -111,11 +111,11 @@ | |
| 111 | ** Close the currently open SSL connection. If no connection is open, |
| 112 | ** this routine is a no-op. |
| 113 | */ |
| 114 | void ssl_close(void){ |
| 115 | if( iBio!=NULL ){ |
| 116 | BIO_reset(iBio); |
| 117 | BIO_free_all(iBio); |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | /* |
| 122 |
| --- src/http_ssl.c | |
| +++ src/http_ssl.c | |
| @@ -111,11 +111,11 @@ | |
| 111 | ** Close the currently open SSL connection. If no connection is open, |
| 112 | ** this routine is a no-op. |
| 113 | */ |
| 114 | void ssl_close(void){ |
| 115 | if( iBio!=NULL ){ |
| 116 | (void)BIO_reset(iBio); |
| 117 | BIO_free_all(iBio); |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | /* |
| 122 |