mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
eval: fix pvs/v547
This commit is contained in:
parent
ee4265285d
commit
e34a7bca68
@ -8137,9 +8137,6 @@ void set_argv_var(char **argv, int argc)
|
||||
list_T *l = tv_list_alloc(argc);
|
||||
int i;
|
||||
|
||||
if (l == NULL) {
|
||||
getout(1);
|
||||
}
|
||||
tv_list_set_lock(l, VAR_FIXED);
|
||||
for (i = 0; i < argc; i++) {
|
||||
tv_list_append_string(l, (const char *const)argv[i], -1);
|
||||
|
Loading…
Reference in New Issue
Block a user