From b7684b43bbb5bee6813ca633cf0fde5460f21f5e Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Wed, 19 Jan 2022 08:53:28 -0500 Subject: [PATCH] quiet compiler --- src/lib/unlang/xlat_expr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/unlang/xlat_expr.c b/src/lib/unlang/xlat_expr.c index 27068c58b7..fa1b45cae4 100644 --- a/src/lib/unlang/xlat_expr.c +++ b/src/lib/unlang/xlat_expr.c @@ -961,6 +961,7 @@ redo: fr_assert(precedence[op] != 0); +#if 0 /* * @todo - handle regexes as a special case. The LHS ideally should be a simple xlat (i.e. not a * comparison). The RHS MUST be a solidus-quoted string. @@ -986,6 +987,7 @@ redo: goto alloc_func; } +#endif /* * a * b + c ... = (a * b) + c ... @@ -1016,8 +1018,9 @@ redo: talloc_free(lhs); FR_SBUFF_ERROR_RETURN_ADJ(&in, slen); } + fr_assert(rhs != NULL); -alloc_func: +//alloc_func: func = xlat_func_find(binary_ops[op].str, binary_ops[op].len); fr_assert(func != NULL); -- 2.47.2