mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +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
5
lexer.c
5
lexer.c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue