aboutsummaryrefslogtreecommitdiffstats
path: root/test/loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/loop.c')
-rw-r--r--test/loop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/loop.c b/test/loop.c
index 52e4fe9..bece7f2 100644
--- a/test/loop.c
+++ b/test/loop.c
@@ -1,10 +1,9 @@
int main() {
int max = 5;
int acc = 0;
- int b = 1;
int c = 2;
- for (int i = 0; i < max; i = i + b) {
+ for (int i = 0; i < max; i++) {
acc += i;
}