aboutsummaryrefslogtreecommitdiff
path: root/tests/programs/bench_strings.zc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/programs/bench_strings.zc')
-rw-r--r--tests/programs/bench_strings.zc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/programs/bench_strings.zc b/tests/programs/bench_strings.zc
index 6f224db..c9fcdee 100644
--- a/tests/programs/bench_strings.zc
+++ b/tests/programs/bench_strings.zc
@@ -5,7 +5,7 @@ fn work() {
let s = b"abcdefghijklmnopqrstuvwxyz0123456789";
let i, acc, n, t, part, k, reps, ch;
ch = rt.get_c();
- reps = 0;
+ reps = 0; acc = 0;
while (ch >= '0' && ch <= '9') { reps = reps * 10 + ch - '0'; ch = rt.get_c(); }
while (reps > 0) {
k = 0; acc = 0; n = rt.len_s(s);