diff options
author | Frederic Cambus <fcambus@cvs.openbsd.org> | 2017-08-10 09:12:33 +0000 |
---|---|---|
committer | Frederic Cambus <fcambus@cvs.openbsd.org> | 2017-08-10 09:12:33 +0000 |
commit | 753f095a020e9fa0757b3b103ca17f9810a65e22 (patch) | |
tree | 95d99c020f1145a1fe031236ec69f4fd45617c88 | |
parent | 089b9fcc6f896445e9b7d3a19c1d46dd9efc841e (diff) |
Remove some case statements which have been compiled out since 2000.
OK mpi@
-rw-r--r-- | sys/dev/wscons/wsemul_vt100.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/sys/dev/wscons/wsemul_vt100.c b/sys/dev/wscons/wsemul_vt100.c index 0e4ee7a93f9..da58cab53ce 100644 --- a/sys/dev/wscons/wsemul_vt100.c +++ b/sys/dev/wscons/wsemul_vt100.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsemul_vt100.c,v 1.35 2017/04/11 14:43:49 dhill Exp $ */ +/* $OpenBSD: wsemul_vt100.c,v 1.36 2017/08/10 09:12:32 fcambus Exp $ */ /* $NetBSD: wsemul_vt100.c,v 1.13 2000/04/28 21:56:16 mycroft Exp $ */ /* @@ -472,25 +472,6 @@ wsemul_vt100_output_c0c1(struct wsemul_vt100_emuldata *edp, /* cancel current escape sequence */ edp->state = VT100_EMUL_STATE_NORMAL; break; -#if 0 - case CSI: /* 8-bit */ - /* XXX cancel current escape sequence */ - edp->nargs = 0; - memset(edp->args, 0, sizeof (edp->args)); - edp->modif1 = edp->modif2 = '\0'; - edp->state = VT100_EMUL_STATE_CSI; - break; - case DCS: /* 8-bit */ - /* XXX cancel current escape sequence */ - edp->nargs = 0; - memset(edp->args, 0, sizeof (edp->args)); - edp->state = VT100_EMUL_STATE_DCS; - break; - case ST: /* string end 8-bit */ - /* XXX only in VT100_EMUL_STATE_STRING */ - wsemul_vt100_handle_dcs(edp); - return (VT100_EMUL_STATE_NORMAL); -#endif case ASCII_LF: case ASCII_VT: case ASCII_FF: |