summaryrefslogtreecommitdiffstats
path: root/text-utils/column.c
diff options
context:
space:
mode:
Diffstat (limited to 'text-utils/column.c')
-rw-r--r--text-utils/column.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/column.c b/text-utils/column.c
index c036b4de8..1144ef87a 100644
--- a/text-utils/column.c
+++ b/text-utils/column.c
@@ -485,7 +485,7 @@ static void columnate_fillrows(struct column_control *ctl)
ctl->maxlength = (ctl->maxlength + TABCHAR_CELLS) & ~(TABCHAR_CELLS - 1);
numcols = ctl->termwidth / ctl->maxlength;
endcol = ctl->maxlength;
- for (chcnt = col = 0, lp = ctl->ents;; ++lp) {
+ for (chcnt = col = 0, lp = ctl->ents; /* nothing */; ++lp) {
fputws(*lp, stdout);
chcnt += width(*lp);
if (!--ctl->nents)