From 6b055185532676696b7c242b8f1eda873368e398 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 3 Nov 2008 13:09:30 -0800 Subject: [PATCH] silence gcc warnings R=ken OCL=18348 CL=18348 --- src/cmd/gc/walk.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cmd/gc/walk.c b/src/cmd/gc/walk.c index f3bf6bdac03..3bfb50d87de 100644 --- a/src/cmd/gc/walk.c +++ b/src/cmd/gc/walk.c @@ -1492,8 +1492,7 @@ lookdot(Node *n, Type *t) void walkdot(Node *n) { - Type *t, *f; - int d; + Type *t; if(n->left == N || n->right == N) return; @@ -1722,7 +1721,7 @@ ascompatte(int op, Type **nl, Node **nr, int fp) loop: if(l != T && isddd(l->type)) { - if(r != T && isddd(r->type)) { + if(r != N && isddd(r->type)) { goto more; }