[hackers] [scc] [cc1] Remove not used variable in funbody() || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Mon, 6 Mar 2017 15:51:07 +0100 (CET)

commit 06dcec5c1db69e60cbc8f3670f58a7b6f65691ea
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Mon Mar 6 15:50:50 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Mon Mar 6 15:50:50 2017 +0100

    [cc1] Remove not used variable in funbody()

diff --git a/cc1/decl.c b/cc1/decl.c
index f57d817..07fd5d6 100644
--- a/cc1/decl.c
+++ b/cc1/decl.c
_AT_@ -465,7 +465,6 @@ ansifun(struct declarators *dp,
 static int
 funbody(Symbol *sym, Symbol *pars[])
 {
- Symbol *par;
         Type *tp;
 
         if (!sym)
_AT_@ -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(';');
                 }
         }
Received on Mon Mar 06 2017 - 15:51:07 CET

This archive was generated by hypermail 2.3.0 : Mon Mar 06 2017 - 16:00:19 CET