Avoid warnings with -pedantic, specifically:
[oweals/openssl.git] / ssl / ssl_sess.c
index 12cc486b1baaa9972c3a68c06eb591d8d4163e92..c5ca1c2014aa5881298669926ee93cbd14184a23 100644 (file)
@@ -847,7 +847,7 @@ static void timeout_doall_arg(SSL_SESSION *s, TIMEOUT_PARAM *p)
                {
                /* The reason we don't call SSL_CTX_remove_session() is to
                 * save on locking overhead */
-               lh_SSL_SESSION_delete(p->cache,s);
+               (void)lh_SSL_SESSION_delete(p->cache,s);
                SSL_SESSION_list_remove(p->ctx,s);
                s->not_resumable=1;
                if (p->ctx->remove_session_cb != NULL)