From: Alan T. DeKok Date: Wed, 20 Jul 2022 16:52:02 +0000 (-0400) Subject: shut up clang scan X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24c43e94a5878ad78f548cb6d2cf99be6e75f544;p=thirdparty%2Ffreeradius-server.git shut up clang scan --- diff --git a/src/lib/unlang/edit.c b/src/lib/unlang/edit.c index 16dfca00edf..ebf492af778 100644 --- a/src/lib/unlang/edit.c +++ b/src/lib/unlang/edit.c @@ -763,6 +763,8 @@ redo: case UNLANG_EDIT_CHECK_RHS: check_rhs: + fr_assert(current->lhs.vp != NULL); + if (fr_type_is_leaf(current->lhs.vp->da->type)) { if (apply_edits_to_leaf(request, current, map) < 0) goto error; } else {