diff --git a/src/lj_crecord.c b/src/lj_crecord.c index 95d09e48..d46a239c 100644 --- a/src/lj_crecord.c +++ b/src/lj_crecord.c @@ -80,6 +80,7 @@ static CTypeID argv2ctype(jit_State *J, TRef tr, cTValue *o) oldtop = cp.cts->top; cp.srcname = strdata(s); cp.p = strdata(s); + cp.param = NULL; cp.mode = CPARSE_MODE_ABSTRACT|CPARSE_MODE_NOIMPLICIT; if (lj_cparse(&cp) || cp.cts->top > oldtop) /* Avoid new struct defs. */ lj_trace_err(J, LJ_TRERR_BADTYPE);