summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-13 22:28:12 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-13 22:28:12 -0800
commit8cb3f72ad2c0fe747e5178b7d593380550a07f76 (patch)
tree38dfd2af6e04ca59ba0cb6121a23d5630036dcbe /mi
parent5a1d952aa7f08885c8de6afbbfa948c675f79f89 (diff)
downloadmc-8cb3f72ad2c0fe747e5178b7d593380550a07f76.tar.gz
Don't generate useless assignments.
We never generate them...
Diffstat (limited to 'mi')
-rw-r--r--mi/match.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mi/match.c b/mi/match.c
index 6396dbb..e9bc6d7 100644
--- a/mi/match.c
+++ b/mi/match.c
@@ -351,8 +351,6 @@ static int addwild(Node *pat, Node *val, Dtree *start, Dtree *accept, Node ***ca
{
Node *asn;
- asn = mkexpr(pat->loc, Oasn, pat, val, NULL);
- asn->expr.type = exprtype(pat);
if (cap && ncap) {
asn = mkexpr(pat->loc, Oasn, pat, val, NULL);
asn->expr.type = exprtype(pat);