mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-12-18 08:22:13 +00:00
Fix a case of the uninitialized blues
This commit is contained in:
parent
adc9e7bf22
commit
b534aca263
1 changed files with 3 additions and 2 deletions
1
lexer.c
1
lexer.c
|
@ -77,6 +77,7 @@ static bool lexwarn(lex_file *lex, int warntype, const char *fmt, ...)
|
||||||
|
|
||||||
ctx.file = lex->name;
|
ctx.file = lex->name;
|
||||||
ctx.line = lex->sline;
|
ctx.line = lex->sline;
|
||||||
|
ctx.column = lex->column;
|
||||||
|
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
r = vcompile_warning(ctx, warntype, fmt, ap);
|
r = vcompile_warning(ctx, warntype, fmt, ap);
|
||||||
|
|
Loading…
Reference in a new issue