summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2019-02-03 03:19:25 +0000
committermrg <mrg@NetBSD.org>2019-02-03 03:19:25 +0000
commit788768547b3857c4a91dd4dfdf8fc4ffe855cddc (patch)
tree05c0bb3274b13ebb5db25e521a19b68688a65067 /libexec
parent347959000863b79ceb826308162ed125f4a420ac (diff)
- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
Diffstat (limited to 'libexec')
-rw-r--r--libexec/telnetd/state.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c
index f9862ff9770..f15909ce488 100644
--- a/libexec/telnetd/state.c
+++ b/libexec/telnetd/state.c
@@ -1,4 +1,4 @@
-/* $NetBSD: state.c,v 1.30 2016/12/12 15:58:44 maya Exp $ */
+/* $NetBSD: state.c,v 1.31 2019/02/03 03:19:25 mrg Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)state.c 8.5 (Berkeley) 5/30/95";
#else
-__RCSID("$NetBSD: state.c,v 1.30 2016/12/12 15:58:44 maya Exp $");
+__RCSID("$NetBSD: state.c,v 1.31 2019/02/03 03:19:25 mrg Exp $");
#endif
#endif /* not lint */
@@ -531,6 +531,7 @@ willoption(int option)
slctab[SLC_XON].defset.flag |= SLC_DEFAULT;
slctab[SLC_XOFF].defset.flag &= ~SLC_LEVELBITS;
slctab[SLC_XOFF].defset.flag |= SLC_DEFAULT;
+ /* FALLTHROUGH */
case TELOPT_TTYPE:
case TELOPT_SGA:
case TELOPT_NAWS: