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:
4
cmd.c
4
cmd.c
@ -335,10 +335,6 @@ cmd_try_alias(int *argc, char ***argv)
|
||||
a = options_array_first(o);
|
||||
while (a != NULL) {
|
||||
ov = options_array_item_value(a);
|
||||
if (ov == NULL) {
|
||||
a = options_array_next(a);
|
||||
continue;
|
||||
}
|
||||
cp = strchr(ov->string, '=');
|
||||
if (cp != NULL &&
|
||||
(size_t)(cp - ov->string) == wanted &&
|
||||
|
Reference in New Issue
Block a user