[dev] [st] [PATCH] len assignment is never used

From: Daniel Martí <mvdan_AT_mvdan.cc>
Date: Wed, 22 Apr 2015 14:50:14 +0200

Signed-off-by: Daniel Martí <mvdan_AT_mvdan.cc>
---
 st.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/st.c b/st.c
index 57cb052..6f236ec 100644
--- a/st.c
+++ b/st.c
_AT_@ -864,7 +864,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 Wed Apr 22 2015 - 14:50:14 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 22 2015 - 16:00:05 CEST