diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/bench.pl.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/bench.pl.in b/etc/bench.pl.in index 7e604309..0bee4df1 100755 --- a/etc/bench.pl.in +++ b/etc/bench.pl.in @@ -528,9 +528,8 @@ yylex (void) static int power (int base, int exponent) { + assert (0 <= exponent); int res = 1; - if (exponent < 0) - exit (3); for (/* Niente */; exponent; --exponent) res *= base; return res; |