]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
quiet compiler
authorAlan T. DeKok <aland@freeradius.org>
Wed, 19 Jan 2022 13:53:28 +0000 (08:53 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 19 Jan 2022 13:53:40 +0000 (08:53 -0500)
src/lib/unlang/xlat_expr.c

index 27068c58b76617b13013c523bfcc16f6e5675ede..fa1b45cae489a609f047e089a18774a98ce81456 100644 (file)
@@ -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);