summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2017-12-08 17:15:20 +0000
committerAlan Somers <asomers@FreeBSD.org>2017-12-08 17:15:20 +0000
commit90de1ffbdbd660b8535ca89e35f7dc87a36ef31d (patch)
tree40a9b5f00d833842a8b00ccfb764000a5c7f814a
parent6e778a7efdc0e804471750157f6bacd1ef7d1580 (diff)
Notes
-rw-r--r--usr.bin/at/parsetime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/at/parsetime.c b/usr.bin/at/parsetime.c
index e91a6947357be..97f533c00c9ae 100644
--- a/usr.bin/at/parsetime.c
+++ b/usr.bin/at/parsetime.c
@@ -617,6 +617,7 @@ parsetime(int argc, char **argv)
}
/* now is optional prefix for PLUS tree */
expect(PLUS);
+ /* FALLTHROUGH */
case PLUS:
plus(&runtime);
break;
@@ -641,8 +642,10 @@ parsetime(int argc, char **argv)
*/
case TEATIME:
hr += 4;
+ /* FALLTHROUGH */
case NOON:
hr += 12;
+ /* FALLTHROUGH */
case MIDNIGHT:
if (runtime.tm_hour >= hr) {
runtime.tm_mday++;