commit 8f436abde68108f78d2c9346858fb85e8332253c
parent aa1a2391bae1c5e8e799934f0dbbd82b2cb694e8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 9 Mar 2015 00:33:13 +0100
style: document intentional fallthrough
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cal.c b/cal.c
@@ -197,7 +197,7 @@ main(int argc, char *argv[])
case 2:
month = estrtonum(argv[0], 1, 12);
argv++;
- case 1:
+ case 1: /* fallthrough */
year = estrtonum(argv[0], 0, INT_MAX);
break;
case 0:
diff --git a/readlink.c b/readlink.c
@@ -83,7 +83,7 @@ mdone:
case 'e':
if (stat(argv[0], &st) < 0)
eprintf("stat %s:", argv[0]);
- case 'f':
+ case 'f': /* fallthrough */
if (!realpath(argv[0], b))
eprintf("realpath %s:", argv[0]);
break;