mirror of
https://github.com/tmate-io/tmate.git
synced 2025-05-21 16:40:59 +02:00
flags[] should be initialized. From Thomas Adam.
This commit is contained in:
parent
2de9b1e005
commit
a8e9654b65
@ -54,6 +54,8 @@ cmd_list_keys_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
return (cmd_list_keys_table(self, ctx));
|
return (cmd_list_keys_table(self, ctx));
|
||||||
|
|
||||||
width = 0;
|
width = 0;
|
||||||
|
*flags = '\0';
|
||||||
|
|
||||||
SPLAY_FOREACH(bd, key_bindings, &key_bindings) {
|
SPLAY_FOREACH(bd, key_bindings, &key_bindings) {
|
||||||
key = key_string_lookup_key(bd->key & ~KEYC_PREFIX);
|
key = key_string_lookup_key(bd->key & ~KEYC_PREFIX);
|
||||||
if (key == NULL)
|
if (key == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user