[hackers] [st] len assignment is never used || mvdan_AT_mvdan.cc

From: <git_AT_suckless.org>
Date: Mon, 27 Apr 2015 12:22:36 +0200 (CEST)

commit 190b94c7a2a7bb2f5d55cbb6eb1779fd042c6467
Author: mvdan_AT_mvdan.cc <mvdan_AT_mvdan.cc>
Date: Wed Apr 22 15:08:06 2015 +0200

    len assignment is never used
    
    Signed-off-by: Daniel Martí <mvdan_AT_mvdan.cc>

diff --git a/st.c b/st.c
index 6c167b5..d954288 100644
--- a/st.c
+++ b/st.c
_AT_@ -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,
Received on Mon Apr 27 2015 - 12:22:36 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 27 2015 - 12:24:25 CEST