]> Cypherpunks repositories - gostls13.git/commitdiff
silence gcc warnings
authorRuss Cox <rsc@golang.org>
Mon, 3 Nov 2008 21:09:30 +0000 (13:09 -0800)
committerRuss Cox <rsc@golang.org>
Mon, 3 Nov 2008 21:09:30 +0000 (13:09 -0800)
R=ken
OCL=18348
CL=18348

src/cmd/gc/walk.c

index f3bf6bdac030d31247a84d7507224f96ad60f8e1..3bfb50d87de9d42fc048b2807882fd942d2bdb50 100644 (file)
@@ -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;
                }