From: Alan T. DeKok Date: Mon, 11 Apr 2022 22:47:04 +0000 (-0400) Subject: we don't care if the call fails. CID #1504005 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7a02d0faabc305648cae1fca7d56600947d0af9;p=thirdparty%2Ffreeradius-server.git we don't care if the call fails. CID #1504005 if we're going to "error" anyways, no need for an extra "if" --- diff --git a/src/lib/tls/session.c b/src/lib/tls/session.c index 38c8fcdfb77..b95eedc05fb 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: - if (unlang_function_clear(request) < 0) goto error; + (void) unlang_function_clear(request); goto error; case UNLANG_ACTION_PUSHED_CHILD: