mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
Suppress -Wunused-value for BIO_set_close()
This commit is contained in:
parent
c22f275744
commit
e67085e56e
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user