scc

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

commit 5af47d7b6fc1fd363a1595f30543e57f73947e3c
parent 81c72588ffc4ab7139aca57d2a0121c263f99af2
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sat,  2 Nov 2013 08:51:55 +0100

Simplify decl()

struct node *np is no longer needed.

Diffstat:
Mdecl.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/decl.c b/decl.c @@ -338,7 +338,6 @@ decl(void) struct ctype base; struct storage store; struct qualifier qlf; - struct node *np; repeat: initctype(&base); initstore(&store); @@ -374,8 +373,7 @@ repeat: initctype(&base); return NULL; goto repeat; } - np = listdcl(&base, &store, &qlf); - return np; + return listdcl(&base, &store, &qlf); } void