shithub: scc

Download patch

ref: 732d6bdc22ff2b7647093953d89be464828db998
parent: 3ff334c28bef9d70eee5566e0fe66616b34167bd
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Nov 4 11:10:58 EDT 2021

cc2/qbe: Remove unused variable in rhs()

--- a/src/cmd/cc/cc2/target/qbe/cgen.c
+++ b/src/cmd/cc/cc2/target/qbe/cgen.c
@@ -484,7 +484,7 @@
 static Node *
 rhs(Node *np)
 {
-	Node *tmp, aux1, aux2, aux3;
+	Node *tmp, aux1, aux2;
 	Node *phi, *l = np->left, *r = np->right;
 	Type *tp;
 	int off, op;