From: Wolfgang (Blub) Bumiller Date: Tue, 14 Aug 2012 11:15:55 +0000 (+0200) Subject: removed redundant error+file+line in parseerror() X-Git-Tag: 0.1-rc1~315 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5ef88dbda75a5c3b20b2a5cced9fbbd7e7e55c84;p=xonotic%2Fgmqcc.git removed redundant error+file+line in parseerror() --- diff --git a/parser.c b/parser.c index c9b4347..aad3b6a 100644 --- a/parser.c +++ b/parser.c @@ -54,8 +54,6 @@ void parseerror(parser_t *parser, const char *fmt, ...) parser->errors++; - printf("error %s:%lu: ", parser->lex->tok->ctx.file, (unsigned long)parser->lex->tok->ctx.line); - va_start(ap, fmt); vprintmsg(LVL_ERROR, parser->lex->tok->ctx.file, parser->lex->tok->ctx.line, "parse error", fmt, ap); va_end(ap);