scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 06dcec5c1db69e60cbc8f3670f58a7b6f65691ea
parent c82048c4f93d643ebe8ae0788de5dae808f2f91e
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon,  6 Mar 2017 15:50:50 +0100

[cc1] Remove not used variable in funbody()

Diffstat:
Mcc1/decl.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cc1/decl.c b/cc1/decl.c @@ -465,7 +465,6 @@ ansifun(struct declarators *dp, static int funbody(Symbol *sym, Symbol *pars[]) { - Symbol *par; Type *tp; if (!sym) @@ -492,7 +491,7 @@ funbody(Symbol *sym, Symbol *pars[]) curfun = sym; if (sym->type->prop & TK_R) { while (yytoken != '{') { - par = dodcl(REP, parameter, NS_IDEN, sym->type); + dodcl(REP, parameter, NS_IDEN, sym->type); expect(';'); } }