termptyext.c: remove useless assignments

This commit is contained in:
Boris Faure 2020-04-17 21:52:06 +02:00
parent f56f6cd07e
commit 1e89fcd020
Signed by: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 3 additions and 3 deletions

View File

@ -119,7 +119,7 @@ _handle_mouse_down(Termpty *ty,
buf += _tytest_modifiers_get(buf, &modifiers);
/* FLAGS */
value = 0;
buf +=_tytest_arg_get(buf, &value);
_tytest_arg_get(buf, &value);
ev.flags = value;
termio_internal_mouse_down(sd, &ev, modifiers);
@ -153,7 +153,7 @@ _handle_mouse_up(Termpty *ty,
buf += _tytest_modifiers_get(buf, &modifiers);
/* FLAGS */
value = 0;
buf +=_tytest_arg_get(buf, &value);
_tytest_arg_get(buf, &value);
ev.flags = value;
termio_internal_mouse_up(sd, &ev, modifiers);
@ -180,7 +180,7 @@ _handle_mouse_move(Termpty *ty,
buf += _tytest_arg_get(buf, &value);
ev.cur.canvas.y = value;
/* MODIFIERS */
buf += _tytest_modifiers_get(buf, &modifiers);
_tytest_modifiers_get(buf, &modifiers);
termio_internal_mouse_move(sd, &ev, modifiers);
}