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:
@ -185,10 +185,6 @@ environ_update(struct options *oo, struct environ *src, struct environ *dst)
|
||||
a = options_array_first(o);
|
||||
while (a != NULL) {
|
||||
ov = options_array_item_value(a);
|
||||
if (ov == NULL) {
|
||||
a = options_array_next(a);
|
||||
continue;
|
||||
}
|
||||
if ((envent = environ_find(src, ov->string)) == NULL)
|
||||
environ_clear(dst, ov->string);
|
||||
else
|
||||
|
Reference in New Issue
Block a user