aboutsummaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/eval.c b/eval.c
index 48053c4..7d9a822 100644
--- a/eval.c
+++ b/eval.c
@@ -184,13 +184,6 @@ eval(struct expr *expr, enum evalkind kind)
binary(expr, expr->op, l, r);
}
break;
- case EXPRCOND:
- l = expr->cond.t;
- r = expr->cond.f;
- c = eval(expr->base, kind);
- if (c->kind != EXPRCONST)
- break;
- return eval(c->constant.i ? l : r, kind);
}
return expr;