summaryrefslogtreecommitdiff
path: root/parse/stab.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-06-17 23:22:13 -0700
committerOri Bernstein <ori@eigenstate.org>2016-06-17 23:22:13 -0700
commitc13709b6d407e69dcaf10134c01cabb67b5dee13 (patch)
tree76b48d260f61244a7c01c61670a16fb74c859263 /parse/stab.c
parent1ed355447b8aa5aa8861651d5a657691fe939218 (diff)
downloadmc-c13709b6d407e69dcaf10134c01cabb67b5dee13.tar.gz
Fix a stupid
We don't need to look up the namespace in variables, since we already do it at other points.
Diffstat (limited to 'parse/stab.c')
-rw-r--r--parse/stab.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/parse/stab.c b/parse/stab.c
index d3afa54..8d5aeca 100644
--- a/parse/stab.c
+++ b/parse/stab.c
@@ -167,8 +167,6 @@ Node *getdcl(Stab *st, Node *n)
Stab *fn;
fn = NULL;
- if (n->name.ns)
- st = getns(file, n->name.ns);
do {
s = htget(st->dcl, n);
if (s) {