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. */ This is probably an error on our part. Fail. */
goto err; goto err;
} }
BIO_set_close(bio, 0); (void)BIO_set_close(bio, 0);
} else { } else {
/* The SSL isn't configured with a BIO with an fd. */ /* The SSL isn't configured with a BIO with an fd. */
if (fd >= 0) { if (fd >= 0) {