From: fennecdjay Date: Tue, 10 Nov 2020 23:24:43 +0000 (+0100) Subject: :art: More const, again X-Git-Tag: nightly~1174 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=094861dffcc776b28a2dbf4fdd23fe08622cfcd0;p=gwion.git :art: More const, again --- diff --git a/src/parse/func_resolve_tmpl.c b/src/parse/func_resolve_tmpl.c index 374d8170..ffeea7f3 100644 --- a/src/parse/func_resolve_tmpl.c +++ b/src/parse/func_resolve_tmpl.c @@ -30,7 +30,7 @@ ANN static inline Value template_get_ready(const Env env, const Value v, const m } ANN static m_bool check_call(const Env env, const Exp_Call* exp) { - ae_exp_t et = exp->func->exp_type; + const ae_exp_t et = exp->func->exp_type; if(et != ae_exp_primary && et != ae_exp_dot && et != ae_exp_cast) ERR_B(exp->func->pos, _("invalid expression for function call.")) CHECK_OB(check_exp(env, exp->func))