From: Alan T. DeKok Date: Fri, 26 May 2017 13:01:31 +0000 (-0400) Subject: remove unnecessary check. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=732538cd249fec2e264bdcf4ee3e7f92e194aff9;p=thirdparty%2Ffreeradius-server.git remove unnecessary check. CID #1358883 --- diff --git a/src/lib/util/pair.c b/src/lib/util/pair.c index 57e51a2cf88..0b87f0a85e0 100644 --- a/src/lib/util/pair.c +++ b/src/lib/util/pair.c @@ -1188,7 +1188,6 @@ void fr_pair_validate_debug(TALLOC_CTX *ctx, VALUE_PAIR const *failed[2]) if (!fr_cond_assert(!(!filter && !list))) return; if (!list) { - if (!filter) return; fr_strerror_printf("Attribute \"%s\" not found in list", filter->da->name); return; }