diff options
author | nicm <nicm> | 2019-04-25 19:36:59 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-04-25 19:36:59 +0000 |
commit | 2d65bbd94129c4542394a83151cb1a131c3c7871 (patch) | |
tree | 0020978c837b96ad83516e47ff5f3974a2b22649 /environ.c | |
parent | a609e6361a2dd9a7ec6d9dd8dfd80d86d38c033b (diff) | |
download | rtmux-2d65bbd94129c4542394a83151cb1a131c3c7871.tar.gz rtmux-2d65bbd94129c4542394a83151cb1a131c3c7871.tar.bz2 rtmux-2d65bbd94129c4542394a83151cb1a131c3c7871.zip |
options_array_item_value cannot return NULL.
Diffstat (limited to 'environ.c')
-rw-r--r-- | environ.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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 |