From: mvdan@mvdan.cc Date: Wed, 22 Apr 2015 13:08:06 +0000 (+0200) Subject: len assignment is never used X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=190b94c7a2a7bb2f5d55cbb6eb1779fd042c6467;p=st.git len assignment is never used Signed-off-by: Daniel Martí --- diff --git a/st.c b/st.c index 6c167b5..d954288 100644 --- 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,