Remove redundant control check
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 6 Apr 2015 08:55:00 +0000 (10:55 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 6 Apr 2015 08:55:00 +0000 (10:55 +0200)
control was set, but it was not ever used because it was set
again some lines later.

st.c

diff --git a/st.c b/st.c
index 827ed08..6d20977 100644 (file)
--- a/st.c
+++ b/st.c
@@ -2648,7 +2648,6 @@ tputc(char *c, int len) {
                        c = "\357\277\275";     /* UTF_INVALID */
                        width = 1;
                }
-               control = ISCONTROLC1(unicodep);
                ascii = unicodep;
        }