]> git.armaanb.net Git - st.git/commitdiff
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 827ed08555eb39a359a9ecd5a8e1059a89d83266..6d2097718ee9c42f0ed7a9f3ffd95ded3e53a1b5 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;
        }