Suppress -Wunused-value for BIO_set_close()

This commit is contained in:
Azat Khuzhin 2022-07-10 09:26:16 +03:00
parent c22f275744
commit e67085e56e

View File

@ -477,7 +477,7 @@ bufferevent_openssl_socket_new(struct event_base *base,
This is probably an error on our part. Fail. */
goto err;
}
BIO_set_close(bio, 0);
(void)BIO_set_close(bio, 0);
} else {
/* The SSL isn't configured with a BIO with an fd. */
if (fd >= 0) {