mirror of
https://github.com/alrayyes/st.git
synced 2024-11-23 03:36:21 +00:00
add break;s for last cases in switch statements
This commit is contained in:
parent
02d2df5790
commit
704d12442e
1 changed files with 4 additions and 0 deletions
4
st.c
4
st.c
|
@ -1228,6 +1228,7 @@ ttynew(void) {
|
||||||
opt_io, strerror(errno));
|
opt_io, strerror(errno));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1673,6 +1674,7 @@ tdefcolor(int *attr, int *npar, int l) {
|
||||||
default:
|
default:
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"erresc(38): gfx attr %d unknown\n", attr[*npar]);
|
"erresc(38): gfx attr %d unknown\n", attr[*npar]);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return idx;
|
return idx;
|
||||||
|
@ -2387,6 +2389,7 @@ tputc(char *c, int len) {
|
||||||
* strhandle();
|
* strhandle();
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -2550,6 +2553,7 @@ tputc(char *c, int len) {
|
||||||
fprintf(stderr, "erresc: unknown sequence ESC 0x%02X '%c'\n",
|
fprintf(stderr, "erresc: unknown sequence ESC 0x%02X '%c'\n",
|
||||||
(uchar) ascii, isprint(ascii)? ascii:'.');
|
(uchar) ascii, isprint(ascii)? ascii:'.');
|
||||||
term.esc = 0;
|
term.esc = 0;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue