all repos — st @ 704d12442e85ded011f71c95e90534ebacc81692

st (suckless terminal) config

add break;s for last cases in switch statements
Markus Teich markus.teich@stusta.mhn.de
commit

704d12442e85ded011f71c95e90534ebacc81692

parent

02d2df5790d186f16e0e22becd8107a85f328c2f

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M st.cst.c

@@ -1228,6 +1228,7 @@ fprintf(stderr, "Error opening %s:%s\n",

opt_io, strerror(errno)); } } + break; } }

@@ -1673,6 +1674,7 @@ case 4: /* direct colour in CMYK space */

default: fprintf(stderr, "erresc(38): gfx attr %d unknown\n", attr[*npar]); + break; } return idx;

@@ -2387,6 +2389,7 @@ * term.esc = 0;

* strhandle(); */ } + break; } return; }

@@ -2550,6 +2553,7 @@ default:

fprintf(stderr, "erresc: unknown sequence ESC 0x%02X '%c'\n", (uchar) ascii, isprint(ascii)? ascii:'.'); term.esc = 0; + break; } } /*