]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove unnecessary "const"
authorAlan T. DeKok <aland@freeradius.org>
Wed, 1 Jun 2022 12:56:22 +0000 (08:56 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 3 Jun 2022 11:15:55 +0000 (07:15 -0400)
src/lib/unlang/xlat_expr.c

index 508f47825cd7bae339c3fde7fc4461de997803d7..3a6e527a68816ddaf726df7cefcb0bf8357ed9e0 100644 (file)
@@ -728,7 +728,7 @@ static int xlat_expr_logical_purify(xlat_exp_t *node, void *instance, request_t
        int i, j;
        int deleted = 0;
        bool result;
-       xlat_logical_inst_t *inst = talloc_get_type_abort_const(instance, xlat_logical_inst_t);
+       xlat_logical_inst_t *inst = talloc_get_type_abort(instance, xlat_logical_inst_t);
        xlat_exp_head_t *group;
 
        fr_assert(node->type == XLAT_FUNC);