mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-19 01:46:33 +02:00
Do not use the key variable uninitialized (in a debug log statement),
reported by jungleboogie0 at gmail dot com.
This commit is contained in:
@@ -501,6 +501,7 @@ tty_keys_next(struct tty *tty)
|
|||||||
case -1: /* no, or not valid */
|
case -1: /* no, or not valid */
|
||||||
break;
|
break;
|
||||||
case -2: /* yes, but we don't care. */
|
case -2: /* yes, but we don't care. */
|
||||||
|
key = KEYC_MOUSE;
|
||||||
goto discard_key;
|
goto discard_key;
|
||||||
case 1: /* partial */
|
case 1: /* partial */
|
||||||
goto partial_key;
|
goto partial_key;
|
||||||
|
Reference in New Issue
Block a user