diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-06-28 21:51:11 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-06-28 21:51:11 +0200 |
| commit | df79bac9f06b6888dd269891b6c33ad6a2e02c21 (patch) | |
| tree | f6b3c198e4112728d921fa75e2240b7a0929a2fe | |
| parent | fcfa1fb2c0a51c557fbb39c145556c46f8427b74 (diff) | |
| download | vis-df79bac9f06b6888dd269891b6c33ad6a2e02c21.tar.gz vis-df79bac9f06b6888dd269891b6c33ad6a2e02c21.tar.xz | |
Mark intentional case statement fall through
| -rw-r--r-- | vis.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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)"); |
