]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
on second thought, this isn't necessary
authorAlan T. DeKok <aland@freeradius.org>
Thu, 19 May 2022 15:59:54 +0000 (11:59 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 19 May 2022 15:59:54 +0000 (11:59 -0400)
src/lib/unlang/xlat_tokenize.c

index 2885cdecdcb7c569f041bd21b24d26ed40f42057..b68188e87355e726f6d40cadf9d30dbc7ceb81a1 100644 (file)
@@ -181,14 +181,6 @@ static inline int xlat_tokenize_alternation(xlat_exp_head_t *head, fr_sbuff_t *i
        }
        node->flags = node->alternate[0]->flags;
 
-       /*
-        *      If the first argument is pure, then we can purify this
-        *      node.  If the first argument isn't pure, but the
-        *      second one is, then we can still purify the second
-        *      argument.
-        */
-       node->flags.can_purify |= node->alternate[0]->flags.pure;
-
        /*
         *      Allow the RHS to be empty as a special case.
         */
@@ -211,7 +203,6 @@ static inline int xlat_tokenize_alternation(xlat_exp_head_t *head, fr_sbuff_t *i
                goto error;
        }
        xlat_flags_merge(&node->flags, &node->alternate[1]->flags);
-       node->flags.can_purify |= node->alternate[1]->flags.pure;
 
 done:
        xlat_exp_insert_tail(head, node);