aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar mvdan@mvdan.cc <mvdan@mvdan.cc>2015-04-22 15:08:06 +0200
committerGravatar Roberto E. Vargas Caballero <k0ga@shike2.com>2015-04-27 10:10:30 +0200
commit190b94c7a2a7bb2f5d55cbb6eb1779fd042c6467 (patch)
tree7b5d8d84531f393f77a0a66042cc175a7135d843
parent4f21c41a1c19f769a2bf7941ee18fa0606266cca (diff)
len assignment is never used
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
-rw-r--r--st.c1
1 files changed, 0 insertions, 1 deletions
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,