aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-10-28 23:45:01 -0400
committerRuss Cox <rsc@golang.org>2014-10-28 23:45:01 -0400
commit260028fc0e55e47b66d9c21d7a703bec0066fd52 (patch)
tree369592a991b68acf74109666e1f55796852082cc
parent324b293878613574a1c0ab8d87f238ad15a67387 (diff)
downloadgo-260028fc0e55e47b66d9c21d7a703bec0066fd52.tar.gz
go-260028fc0e55e47b66d9c21d7a703bec0066fd52.zip
cmd/gc: fix build - remove unused variables in walkprint
TBR=austin CC=golang-codereviews https://golang.org/cl/162420043
-rw-r--r--src/cmd/gc/walk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd/gc/walk.c b/src/cmd/gc/walk.c
index 2986f4b542..ff9b362083 100644
--- a/src/cmd/gc/walk.c
+++ b/src/cmd/gc/walk.c
@@ -1764,15 +1764,13 @@ walkprint(Node *nn, NodeList **init)
Node *on;
Type *t;
int notfirst, et, op;
- NodeList *calls, *intypes, *args;
+ NodeList *calls;
on = nil;
op = nn->op;
all = nn->list;
calls = nil;
notfirst = 0;
- intypes = nil;
- args = nil;
for(l=all; l; l=l->next) {
if(notfirst) {