Fix a case of the uninitialized blues

This commit is contained in:
Dale Weiler 2013-06-22 02:25:19 +00:00
parent adc9e7bf22
commit b534aca263

View file

@ -75,8 +75,9 @@ static bool lexwarn(lex_file *lex, int warntype, const char *fmt, ...)
lex_ctx ctx;
va_list ap;
ctx.file = lex->name;
ctx.line = lex->sline;
ctx.file = lex->name;
ctx.line = lex->sline;
ctx.column = lex->column;
va_start(ap, fmt);
r = vcompile_warning(ctx, warntype, fmt, ap);