len assignment is never used

Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
master
mvdan@mvdan.cc 10 years ago committed by Roberto E. Vargas Caballero
parent 4f21c41a1c
commit 190b94c7a2
  1. 1
      st.c

@ -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,

Loading…
Cancel
Save