mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
options_array_item_value cannot return NULL.
This commit is contained in:
@ -496,8 +496,7 @@ tty_term_find(char *name, int fd, char **cause)
|
||||
a = options_array_first(o);
|
||||
while (a != NULL) {
|
||||
ov = options_array_item_value(a);
|
||||
if (ov != NULL)
|
||||
tty_term_override(term, ov->string);
|
||||
tty_term_override(term, ov->string);
|
||||
a = options_array_next(a);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user