len assignment is never used

Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
This commit is contained in:
mvdan@mvdan.cc 2015-04-22 15:08:06 +02:00 committed by Roberto E. Vargas Caballero
parent 4f21c41a1c
commit 190b94c7a2

1
st.c
View file

@ -860,7 +860,6 @@ mousereport(XEvent *e) {
+ ((state & ControlMask) ? 16 : 0); + ((state & ControlMask) ? 16 : 0);
} }
len = 0;
if(IS_SET(MODE_MOUSESGR)) { if(IS_SET(MODE_MOUSESGR)) {
len = snprintf(buf, sizeof(buf), "\033[<%d;%d;%d%c", len = snprintf(buf, sizeof(buf), "\033[<%d;%d;%d%c",
button, x+1, y+1, button, x+1, y+1,