[dev] [st patch queue 07/12] Remove unnecessary break;s

From: noname <noname_AT_inventati.org>
Date: Fri, 25 Apr 2014 18:27:15 +0400

---
 st.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/st.c b/st.c
index 9de7f81..061dafd 100644
--- a/st.c
+++ b/st.c
_AT_@ -1778,7 +1778,6 @@ tsetmode(bool priv, bool set, int *args, int narg) {
 	for(lim = args + narg; args < lim; ++args) {
 		if(priv) {
 			switch(*args) {
-				break;
 			case 1: /* DECCKM -- Cursor key */
 				MODBIT(term.mode, set, MODE_APPCURSOR);
 				break;
_AT_@ -1897,7 +1896,6 @@ tsetmode(bool priv, bool set, int *args, int narg) {
 				fprintf(stderr,
 					"erresc: unknown set/reset mode %d\n",
 					*args);
-				break;
 			}
 		}
 	}
-- 
1.8.4
Received on Fri Apr 25 2014 - 16:27:15 CEST

This archive was generated by hypermail 2.3.0 : Fri Apr 25 2014 - 16:36:28 CEST