shithub: scc

Download patch

ref: 53b8642aa9cedc398e937c31d7b5ca75c78b0ed9
parent: 8ef2996b6e515b7ab4aa177ba3511bf875a7eeff
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Aug 5 18:14:00 EDT 2015

Remove non used variables

--- a/cc1/code.c
+++ b/cc1/code.c
@@ -365,7 +365,6 @@
 Node *
 sizeofnode(Type *tp)
 {
-	Node *np;
 	Symbol *sym;
 
 	sym = newsym(NS_IDEN);
--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -545,7 +545,7 @@
 static void
 parlist(Type *tp)
 {
-	Symbol *pars[NR_FUNPARAM], **sp = pars, *sym;
+	Symbol *pars[NR_FUNPARAM], **sp = pars;
 	bool isfun;
 	int n;