len assignment is never used
authormvdan@mvdan.cc <mvdan@mvdan.cc>
Wed, 22 Apr 2015 13:08:06 +0000 (15:08 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 27 Apr 2015 08:10:30 +0000 (10:10 +0200)
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
st.c

diff --git a/st.c b/st.c
index 6c167b5..d954288 100644 (file)
--- a/st.c
+++ b/st.c
@@ -860,7 +860,6 @@ mousereport(XEvent *e) {
                        + ((state & ControlMask) ? 16 : 0);
        }
 
-       len = 0;
        if(IS_SET(MODE_MOUSESGR)) {
                len = snprintf(buf, sizeof(buf), "\033[<%d;%d;%d%c",
                                button, x+1, y+1,