From: Wolfgang (Blub) Bumiller Date: Thu, 22 Nov 2012 19:46:13 +0000 (+0100) Subject: Fixing shadows in lexer.c X-Git-Tag: 0.1.9~347 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b771695e0debb323834c8ef0891b54ddf5211d4b;p=xonotic%2Fgmqcc.git Fixing shadows in lexer.c --- diff --git a/lexer.c b/lexer.c index b637af9..c37678e 100644 --- a/lexer.c +++ b/lexer.c @@ -980,9 +980,9 @@ int lex_do(lex_file *lex) if (!strcmp(v, "flush")) { - size_t frame; - for (frame = 0; frame < vec_size(lex->frames); ++frame) - mem_d(lex->frames[frame].name); + size_t fi; + for (fi = 0; fi < vec_size(lex->frames); ++fi) + mem_d(lex->frames[fi].name); vec_free(lex->frames); /* skip line (fteqcc does it too) */ ch = lex_getch(lex);