From: Nick Porter Date: Wed, 3 Jan 2024 13:37:36 +0000 (+0000) Subject: Remove spurious warnings about ignoring values X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f00ff2e3b34f13abb3fdace373db9ddc7a0f564;p=thirdparty%2Ffreeradius-server.git Remove spurious warnings about ignoring values --- diff --git a/src/lib/unlang/edit.c b/src/lib/unlang/edit.c index 351227d6bfd..75d4eea5f89 100644 --- a/src/lib/unlang/edit.c +++ b/src/lib/unlang/edit.c @@ -778,7 +778,7 @@ static int apply_edits_to_leaf(request_t *request, unlang_frame_state_edit_t *st } if (current->lhs.vp->da->flags.local) { - RWDEBUG("Ignoring extra values for local variable"); + if (fr_dcursor_next_peek(&cursor)) RWDEBUG("Ignoring extra values for local variable"); goto done; }