From: Russ Cox Date: Mon, 3 Nov 2008 21:09:30 +0000 (-0800) Subject: silence gcc warnings X-Git-Tag: weekly.2009-11-06~2819 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6b055185532676696b7c242b8f1eda873368e398;p=gostls13.git silence gcc warnings R=ken OCL=18348 CL=18348 --- diff --git a/src/cmd/gc/walk.c b/src/cmd/gc/walk.c index f3bf6bdac0..3bfb50d87d 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; }