diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2014-04-26 23:50:37 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-04-27 10:34:57 +0200 |
commit | 704d12442e85ded011f71c95e90534ebacc81692 (patch) | |
tree | 10e396586a7f86407e5c12cca472ca3f7bd93876 | |
parent | 02d2df5790d186f16e0e22becd8107a85f328c2f (diff) | |
download | st-704d12442e85ded011f71c95e90534ebacc81692.tar.gz |
add break;s for last cases in switch statements
-rw-r--r-- | st.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1228,6 +1228,7 @@ ttynew(void) { opt_io, strerror(errno)); } } + break; } } @@ -1673,6 +1674,7 @@ tdefcolor(int *attr, int *npar, int l) { default: fprintf(stderr, "erresc(38): gfx attr %d unknown\n", attr[*npar]); + break; } return idx; @@ -2387,6 +2389,7 @@ tputc(char *c, int len) { * strhandle(); */ } + break; } return; } @@ -2550,6 +2553,7 @@ tputc(char *c, int len) { fprintf(stderr, "erresc: unknown sequence ESC 0x%02X '%c'\n", (uchar) ascii, isprint(ascii)? ascii:'.'); term.esc = 0; + break; } } /* |