aboutsummaryrefslogtreecommitdiff
path: root/toys/lsb/seq.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/lsb/seq.c')
-rw-r--r--toys/lsb/seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/lsb/seq.c b/toys/lsb/seq.c
index 5a51a20f..0202c670 100644
--- a/toys/lsb/seq.c
+++ b/toys/lsb/seq.c
@@ -81,7 +81,7 @@ void seq_main(void)
i = 0;
dd = first;
- if (increment) for (; ; i) {
+ if (increment) for (;;) {
// avoid accumulating rounding errors from increment
dd = first+i*increment;
if ((increment<0 && dd<last) || (increment>0 && dd>last)) break;