summaryrefslogtreecommitdiffstats
path: root/text-utils/column.c
diff options
context:
space:
mode:
authorSami Kerola2017-05-28 11:37:06 +0200
committerKarel Zak2017-06-14 12:21:29 +0200
commitf4d37838673f022c8c05c4beb5057bdb683a76ca (patch)
tree78e5ba60ddf290613d81a0d48312f0e45fa548d9 /text-utils/column.c
parentlosetup: add missing initializer [clang] (diff)
downloadkernel-qcow2-util-linux-f4d37838673f022c8c05c4beb5057bdb683a76ca.tar.gz
kernel-qcow2-util-linux-f4d37838673f022c8c05c4beb5057bdb683a76ca.tar.xz
kernel-qcow2-util-linux-f4d37838673f022c8c05c4beb5057bdb683a76ca.zip
misc: remove stray semicolons
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
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)