aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-06-28 21:51:11 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-06-28 21:51:11 +0200
commitdf79bac9f06b6888dd269891b6c33ad6a2e02c21 (patch)
treef6b3c198e4112728d921fa75e2240b7a0929a2fe
parentfcfa1fb2c0a51c557fbb39c145556c46f8427b74 (diff)
downloadvis-df79bac9f06b6888dd269891b6c33ad6a2e02c21.tar.gz
vis-df79bac9f06b6888dd269891b6c33ad6a2e02c21.tar.xz
Mark intentional case statement fall through
-rw-r--r--vis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vis.c b/vis.c
index b85ae47..a6ad671 100644
--- a/vis.c
+++ b/vis.c
@@ -1895,9 +1895,9 @@ static bool cmd_earlier_later(Filerange *range, enum CmdOpt opt, const char *arg
while (*unit && isspace((unsigned char)*unit))
unit++;
switch (*unit) {
- case 'd': count *= 24;
- case 'h': count *= 60;
- case 'm': count *= 60;
+ case 'd': count *= 24; /* fall through */
+ case 'h': count *= 60; /* fall through */
+ case 'm': count *= 60; /* fall through */
case 's': break;
default:
editor_info_show(vis, "Unknown time specifier (use: s,m,h or d)");