tadd break;s for last cases in switch statements - st - [fork] customized build… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 704d12442e85ded011f71c95e90534ebacc81692 | |
parent 02d2df5790d186f16e0e22becd8107a85f328c2f | |
Author: Markus Teich <[email protected]> | |
Date: Sat, 26 Apr 2014 23:50:37 +0200 | |
add break;s for last cases in switch statements | |
Diffstat: | |
M st.c | 4 ++++ | |
1 file changed, 4 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -1228,6 +1228,7 @@ ttynew(void) { | |
opt_io, strerror(errno)); | |
} | |
} | |
+ break; | |
} | |
} | |
t@@ -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; | |
t@@ -2387,6 +2389,7 @@ tputc(char *c, int len) { | |
* strhandle(); | |
*/ | |
} | |
+ break; | |
} | |
return; | |
} | |
t@@ -2550,6 +2553,7 @@ tputc(char *c, int len) { | |
fprintf(stderr, "erresc: unknown sequence ESC … | |
(uchar) ascii, isprint(ascii)? ascii:'… | |
term.esc = 0; | |
+ break; | |
} | |
} | |
/* |