aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2014-04-26 23:50:37 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2014-04-27 10:34:57 +0200
commit704d12442e85ded011f71c95e90534ebacc81692 (patch)
tree10e396586a7f86407e5c12cca472ca3f7bd93876
parent02d2df5790d186f16e0e22becd8107a85f328c2f (diff)
downloadst-704d12442e85ded011f71c95e90534ebacc81692.tar.gz
st-704d12442e85ded011f71c95e90534ebacc81692.zip
add break;s for last cases in switch statements
-rw-r--r--st.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/st.c b/st.c
index d2261e2..49df792 100644
--- a/st.c
+++ b/st.c
@@ -1228,6 +1228,7 @@ ttynew(void) {
1228 opt_io, strerror(errno)); 1228 opt_io, strerror(errno));
1229 } 1229 }
1230 } 1230 }
1231 break;
1231 } 1232 }
1232} 1233}
1233 1234
@@ -1673,6 +1674,7 @@ tdefcolor(int *attr, int *npar, int l) {
1673 default: 1674 default:
1674 fprintf(stderr, 1675 fprintf(stderr,
1675 "erresc(38): gfx attr %d unknown\n", attr[*npar]); 1676 "erresc(38): gfx attr %d unknown\n", attr[*npar]);
1677 break;
1676 } 1678 }
1677 1679
1678 return idx; 1680 return idx;
@@ -2387,6 +2389,7 @@ tputc(char *c, int len) {
2387 * strhandle(); 2389 * strhandle();
2388 */ 2390 */
2389 } 2391 }
2392 break;
2390 } 2393 }
2391 return; 2394 return;
2392 } 2395 }
@@ -2550,6 +2553,7 @@ tputc(char *c, int len) {
2550 fprintf(stderr, "erresc: unknown sequence ESC 0x%02X '%c'\n", 2553 fprintf(stderr, "erresc: unknown sequence ESC 0x%02X '%c'\n",
2551 (uchar) ascii, isprint(ascii)? ascii:'.'); 2554 (uchar) ascii, isprint(ascii)? ascii:'.');
2552 term.esc = 0; 2555 term.esc = 0;
2556 break;
2553 } 2557 }
2554 } 2558 }
2555 /* 2559 /*