From: Alan T. DeKok Date: Wed, 20 Dec 2023 22:38:09 +0000 (-0500) Subject: list is only NULL when ctx is NULL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd58fb38d9d6aa802b91b8670a3a693a86de447e;p=thirdparty%2Ffreeradius-server.git list is only NULL when ctx is NULL --- diff --git a/src/lib/server/pairmove.c b/src/lib/server/pairmove.c index ca04415ab7d..db5ec24fa75 100644 --- a/src/lib/server/pairmove.c +++ b/src/lib/server/pairmove.c @@ -326,7 +326,6 @@ static int radius_legacy_map_apply_structural(request_t *request, map_t const *m * This call can return the parent list, even if the VP itself is missing. */ tmpl_pair_list_and_ctx(ctx, list, request, tmpl_request(map->lhs), tmpl_list(map->lhs)); - if (unlikely(!list)) return -1; if (!ctx) { /* * The parent is missing, so add the parent and then the VP.