From: Dale Weiler Date: Sat, 22 Jun 2013 02:25:19 +0000 (+0000) Subject: Fix a case of the uninitialized blues X-Git-Tag: v0.3.0~81 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b534aca26349ba4bf72e62f1623437e32aacab29;p=xonotic%2Fgmqcc.git Fix a case of the uninitialized blues --- diff --git a/lexer.c b/lexer.c index ac230b6..e0dafc3 100644 --- a/lexer.c +++ b/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);