summaryrefslogtreecommitdiff
path: root/limbo/typecheck.c
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2008-02-01 19:00:57 +0000
committerCharles.Forsyth <devnull@localhost>2008-02-01 19:00:57 +0000
commit1ca4518d984a3e2dee44a160397cb720c61d2449 (patch)
treebbc04f7959db7e9b997ca4d4f07dffcd915701ce /limbo/typecheck.c
parente2adf7ef1f7981d7eb5005b22a5ce5a61bda8344 (diff)
20080201-1908
Diffstat (limited to 'limbo/typecheck.c')
-rw-r--r--limbo/typecheck.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/limbo/typecheck.c b/limbo/typecheck.c
index 0fcfbf4b..08bfef16 100644
--- a/limbo/typecheck.c
+++ b/limbo/typecheck.c
@@ -2148,7 +2148,6 @@ marklval(Node *n)
default:
return 0;
}
- return 0;
}
/*
@@ -2483,8 +2482,9 @@ if(debug['v']) print("fnlookup: %p\n", id);
mod = args0->left;
break;
}
- if(args0 != nil)
- args0 = args0->right;
+ if(args0 == nil)
+ break;
+ args0 = args0->right;
}
}
if(mod == nil && (dot = module(id)) != nil && !isimpmod(dot->sym))