st

fork of suckless's simple terminal
Index Commits Files Refs README LICENSE
commit 190b94c7a2a7bb2f5d55cbb6eb1779fd042c6467
parent 4f21c41a1c19f769a2bf7941ee18fa0606266cca
Author: mvdan@mvdan.cc <mvdan@mvdan.cc>
Date:   Wed, 22 Apr 2015 15:08:06 +0200

len assignment is never used

Signed-off-by: Daniel Martí <mvdan@mvdan.cc>

Diffstat:
Mst.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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,