# HG changeset patch # User michael # Date 1161983611 0 # Node ID 9076b11ea35f118622faed4658b3729ef994d333 # Parent 16b88d6b354647c10b3a3d2f0be30d5556b96869 minor simplification diff -r 16b88d6b3546 -r 9076b11ea35f eval.c --- a/eval.c Fri Oct 27 20:38:10 2006 +0000 +++ b/eval.c Fri Oct 27 21:13:31 2006 +0000 @@ -302,12 +302,9 @@ int sign, sign2; AVEvalExpr * e = parse_pow(p, &sign); while(p->s[0]=='^'){ - AVEvalExpr * tmp; - p->s++; - tmp= new_eval_expr(e_pow, 1, e, parse_pow(p, &sign2)); - if (tmp->param[1]) tmp->param[1]->value *= (sign2|1); - e = tmp; + e= new_eval_expr(e_pow, 1, e, parse_pow(p, &sign2)); + if (e->param[1]) e->param[1]->value *= (sign2|1); } if (e) e->value *= (sign|1); return e;