shithub: scc

Download patch

ref: 5af47d7b6fc1fd363a1595f30543e57f73947e3c
parent: 81c72588ffc4ab7139aca57d2a0121c263f99af2
author: Roberto E. Vargas Caballero <[email protected]>
date: Sat Nov 2 04:51:55 EDT 2013

Simplify decl()

struct node *np is no longer needed.

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