From: Alan T. DeKok Date: Thu, 21 Nov 2019 13:39:36 +0000 (-0500) Subject: remove extraneous check X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe833e1266951bee735fe0ebf449a7381c2fd6b2;p=thirdparty%2Ffreeradius-server.git remove extraneous check --- diff --git a/src/lib/util/dict_util.c b/src/lib/util/dict_util.c index 1a4f654ca99..5d1a5a0aa8f 100644 --- a/src/lib/util/dict_util.c +++ b/src/lib/util/dict_util.c @@ -1631,8 +1631,6 @@ fr_dict_attr_t const *fr_dict_vendor_attr_by_da(fr_dict_attr_t const *da) while (da_p->parent) { if (da_p->type == FR_TYPE_VENDOR) break; da_p = da_p->parent; - - if (!da_p) return NULL; } if (da_p->type != FR_TYPE_VENDOR) return NULL;