From: Alan T. DeKok Date: Thu, 19 May 2022 15:59:54 +0000 (-0400) Subject: on second thought, this isn't necessary X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3753758fdbe483791649f3db805e2451c46c1caf;p=thirdparty%2Ffreeradius-server.git on second thought, this isn't necessary --- diff --git a/src/lib/unlang/xlat_tokenize.c b/src/lib/unlang/xlat_tokenize.c index 2885cdecdcb..b68188e8735 100644 --- a/src/lib/unlang/xlat_tokenize.c +++ b/src/lib/unlang/xlat_tokenize.c @@ -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);