From 8a3f212a5c3696683f6c7fcf36489df98708fd87 Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 30 Dec 2017 07:21:10 +0000 Subject: [PATCH] Simplify switch by removing some unneeded cases. from kshe --- usr.bin/jot/jot.c | 5 +---- 1 file changed, 1 insertion(+), 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) -- 2.20.1