len assignment is never used
[st.git] / 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,