aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-31 13:46:59 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:03:52 -0700
commit9bcb9fc87dd4db724194999e132c077ce3de36ea (patch)
treec690aba44ad75e17ca65040a717bf8714fcab174 /expand.c
parentAdd deathnotes for the pseudo's we use. (diff)
downloadsparse-9bcb9fc87dd4db724194999e132c077ce3de36ea.tar.gz
sparse-9bcb9fc87dd4db724194999e132c077ce3de36ea.tar.bz2
sparse-9bcb9fc87dd4db724194999e132c077ce3de36ea.zip
Remove remnants of two-expression x ? : y handling..
We turn it into a proper (tmp = x, tmp ? tmp : y) at evaluation time, so later phases never have to worry about the issue. But some of the old code lingered.
Diffstat (limited to 'expand.c')
-rw-r--r--expand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/expand.c b/expand.c
index a3a87d2..b5437ff 100644
--- a/expand.c
+++ b/expand.c
@@ -459,7 +459,6 @@ static int expand_conditional(struct expression *expr)
cond_cost = expand_expression(cond);
if (cond->type == EXPR_VALUE) {
- true = true ? : cond;
if (!cond->value)
true = false;
*expr = *true;