From: Jérémie Astor Date: Thu, 7 May 2020 17:23:30 +0000 (+0200) Subject: :art: Use const X-Git-Tag: nightly~1637 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=02e9fce5ab40b0120b412cb1e60f758f6701c4fd;p=gwion.git :art: Use const --- diff --git a/src/emit/emit.c b/src/emit/emit.c index 93af7968..94668df2 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -882,7 +882,7 @@ static inline m_bool push_func_code(const Emitter emit, const Func f) { ANN static m_bool emit_template_code(const Emitter emit, const Func f) { const Value v = f->value_ref; - size_t scope = emit->env->scope->depth; + const size_t scope = emit->env->scope->depth; struct EnvSet es = { .env=emit->env, .data=emit, .func=(_exp_func)emit_cdef, .scope=scope, .flag=ae_flag_emit }; if(v->from->owner_class)