From: Alan T. DeKok Date: Wed, 1 Jun 2022 12:56:22 +0000 (-0400) Subject: remove unnecessary "const" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d01ba71812ea5a8fb3045dd4544e5bea5b0c2514;p=thirdparty%2Ffreeradius-server.git remove unnecessary "const" --- diff --git a/src/lib/unlang/xlat_expr.c b/src/lib/unlang/xlat_expr.c index 508f47825cd..3a6e527a688 100644 --- a/src/lib/unlang/xlat_expr.c +++ b/src/lib/unlang/xlat_expr.c @@ -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);