more /* FALLTHROUGH */ for GCC 7
authormirabilos <m@mirbsd.org>
Tue, 8 Aug 2017 15:57:24 +0000 (17:57 +0200)
committermirabilos <m@mirbsd.org>
Tue, 8 Aug 2017 16:04:29 +0000 (18:04 +0200)
termcap.c

index a0dad37..c918970 100644 (file)
--- a/termcap.c
+++ b/termcap.c
@@ -583,9 +583,11 @@ void texec(CAP *cap, unsigned char *s, int l, int a0, int a1, int a2, int a3)
                        case 'd':
                                if (x < 10)
                                        goto one;
+                               /* FALLTHROUGH */
                        case '2':
                                if (x < 100)
                                        goto two;
+                               /* FALLTHROUGH */
                        case '3':
                                c = '0';
                                while (x >= 100) {