mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 21:55:17 -07:00
eval: Fix V547: d == NULL
was already checked at line 2986
This commit is contained in:
parent
05c1829a8c
commit
97a1ccf8e7
@ -2999,8 +2999,7 @@ int do_unlet(const char *const name, const size_t name_len, const int forceit)
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
if (d == NULL
|
||||
|| tv_check_lock(d->dv_lock, (const char *)name, STRLEN(name))) {
|
||||
if (tv_check_lock(d->dv_lock, (const char *)name, STRLEN(name))) {
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user