sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit 8f436abde68108f78d2c9346858fb85e8332253c
parent aa1a2391bae1c5e8e799934f0dbbd82b2cb694e8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon Mar  9 00:33:13 +0100

style: document intentional fallthrough

Diffstat:
cal.c | 2+-
readlink.c | 2+-
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;