From: Alan T. DeKok Date: Tue, 12 Apr 2022 01:42:09 +0000 (-0400) Subject: we choose to shut up gcc instead of coverity X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5c4e724e19877d59bf0bf147ed14e6793dc5c0f;p=thirdparty%2Ffreeradius-server.git we choose to shut up gcc instead of coverity --- diff --git a/src/lib/tls/session.c b/src/lib/tls/session.c index b95eedc05fb..38c8fcdfb77 100644 --- a/src/lib/tls/session.c +++ b/src/lib/tls/session.c @@ -1446,7 +1446,7 @@ DIAG_ON(used-but-marked-unused) ua = fr_tls_cache_pending_push(request, tls_session); switch (ua) { case UNLANG_ACTION_FAIL: - (void) unlang_function_clear(request); + if (unlang_function_clear(request) < 0) goto error; goto error; case UNLANG_ACTION_PUSHED_CHILD: