mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
options_array_item_value cannot return NULL.
This commit is contained in:
@ -429,8 +429,7 @@ tty_keys_build(struct tty *tty)
|
||||
a = options_array_first(o);
|
||||
while (a != NULL) {
|
||||
ov = options_array_item_value(a);
|
||||
if (ov != NULL)
|
||||
tty_keys_add(tty, ov->string, KEYC_USER + i);
|
||||
tty_keys_add(tty, ov->string, KEYC_USER + i);
|
||||
a = options_array_next(a);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user