summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMura Li <mura_li@castech.com.tw>2020-04-28 11:26:10 +0000
committerOri Bernstein <ori@eigenstate.org>2020-05-05 20:33:19 -0700
commit0d7d70e5b1a4b5c7ae618d6d04fb30848b18c08f (patch)
treedbb445677abeb27b7125037c6b89bd3efb2199f1
parent6e944f5fe207cd0294eaa4cd023533771fd403d8 (diff)
downloadmc-0d7d70e5b1a4b5c7ae618d6d04fb30848b18c08f.tar.gz
Remove useless code
-rw-r--r--parse/infer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/parse/infer.c b/parse/infer.c
index 4938236..ffbcdeb 100644
--- a/parse/infer.c
+++ b/parse/infer.c
@@ -1535,7 +1535,6 @@ inferpat(Node **np, Node *val, Node ***bind, size_t *nbind)
args = n->expr.args;
for (i = 0; i < n->expr.nargs; i++)
if (args[i]->type == Nexpr) {
- args[i]->expr.ispat = 1;
inferpat(&args[i], val, bind, nbind);
}
switch (exprop(n)) {