summaryrefslogtreecommitdiffstats
path: root/text-utils/colcrt.c
diff options
context:
space:
mode:
authorKarel Zak2012-09-07 12:05:56 +0200
committerKarel Zak2012-09-07 12:05:56 +0200
commit67757329cce3102f220be82e0c5499a1df0969ae (patch)
tree17dc8589daa92f6fd2457ed878859c2e5fd2125a /text-utils/colcrt.c
parenttunelp: add missing break [coverity scan] (diff)
downloadkernel-qcow2-util-linux-67757329cce3102f220be82e0c5499a1df0969ae.tar.gz
kernel-qcow2-util-linux-67757329cce3102f220be82e0c5499a1df0969ae.tar.xz
kernel-qcow2-util-linux-67757329cce3102f220be82e0c5499a1df0969ae.zip
mark expected fallthrough for static analysers
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/colcrt.c')
-rw-r--r--text-utils/colcrt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/text-utils/colcrt.c b/text-utils/colcrt.c
index 3393d0cf3..e6c18b79b 100644
--- a/text-utils/colcrt.c
+++ b/text-utils/colcrt.c
@@ -197,6 +197,7 @@ void colcrt(FILE *f) {
outcol &= ~7;
outcol--;
c = ' ';
+ /* fallthrough */
default:
w = wcwidth(c);
if (outcol + w > 132) {