]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
cast to avoid -Wcomma warning
authorAlan T. DeKok <aland@freeradius.org>
Thu, 25 Dec 2025 15:55:39 +0000 (10:55 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 25 Dec 2025 16:37:38 +0000 (11:37 -0500)
src/lib/unlang/xlat_purify.c

index f2ce3d6bbb622d441352cc9b242271b5cba046d1..a7e0403624ae0864cce7ed1d3f2c9e1cc7f2dc2f 100644 (file)
@@ -87,7 +87,7 @@ static int xlat_purify_list_internal(xlat_exp_head_t *head, request_t *request,
        our_flags.constant = our_flags.pure = true;             /* we flip these if the children are not pure */
 
        for (node = fr_dlist_head(&head->dlist);
-            next = fr_dlist_next(&head->dlist, node), node != NULL;
+            (void) (next = fr_dlist_next(&head->dlist, node)), node != NULL;
             node = next) {
                if (!node->flags.can_purify) continue;