diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2017-12-30 07:21:11 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2017-12-30 07:21:11 +0000 |
commit | fa3dd069659d62fc8e0ee8480e9936cf9bea8b59 (patch) | |
tree | 33cb7c8b66a374f6f7218c5a4dcc68fc057621b1 | |
parent | 45b33350e6fe5b2b74baa91e4a075cdc10c2c335 (diff) |
Simplify switch by removing some unneeded cases.
from kshe
-rw-r--r-- | usr.bin/jot/jot.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/jot/jot.c b/usr.bin/jot/jot.c index 8e07223786f..daef3637d45 100644 --- a/usr.bin/jot/jot.c +++ b/usr.bin/jot/jot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: jot.c,v 1.40 2017/12/30 07:19:05 tb Exp $ */ +/* $OpenBSD: jot.c,v 1.41 2017/12/30 07:21:10 tb Exp $ */ /* $NetBSD: jot.c,v 1.3 1994/12/02 20:29:43 pk Exp $ */ /*- @@ -438,9 +438,6 @@ getformat(void) chardata = true; break; } - /* FALLTHROUGH */ - case 'h': case 'n': case 'p': case 'q': case 's': case 'L': - case '$': case '*': goto fmt_broken; case 'f': case 'e': case 'g': case 'E': case 'G': if (!longdata) |