From eaec842e0b5973b0c7757c3d18891e1fa79a3fcf Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Sat, 11 Dec 2021 15:15:29 -0500 Subject: [PATCH] and one more "shut up clang" it's way to dumb and complaining for it's own good --- src/lib/unlang/edit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/unlang/edit.c b/src/lib/unlang/edit.c index 663d7ae8a1..e2eabebf45 100644 --- a/src/lib/unlang/edit.c +++ b/src/lib/unlang/edit.c @@ -241,6 +241,9 @@ static int apply_edits(request_t *request, unlang_frame_state_edit_t *state, map fr_assert(state->rhs.vpt != NULL); fr_assert(state->lhs.vp != NULL); +#ifdef __clang_analyzer__ + if (!state->lhs.vp) return -1; +#endif /* * Get the resulting value box. */ -- 2.47.2