Hi tech@,

Remove some case statements which have been compiled out since 2000.

Comments? OK?

Index: sys/dev/wscons/wsemul_vt100.c
===================================================================
RCS file: /cvs/src/sys/dev/wscons/wsemul_vt100.c,v
retrieving revision 1.35
diff -u -p -r1.35 wsemul_vt100.c
--- sys/dev/wscons/wsemul_vt100.c       11 Apr 2017 14:43:49 -0000      1.35
+++ sys/dev/wscons/wsemul_vt100.c       9 Aug 2017 19:47:42 -0000
@@ -472,25 +472,6 @@ wsemul_vt100_output_c0c1(struct wsemul_v
                /* 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:

Reply via email to