eval: Fix V547: d == NULL was already checked at line 2986

This commit is contained in:
ZyX 2017-04-16 19:56:55 +03:00
parent 05c1829a8c
commit 97a1ccf8e7

View File

@ -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;
}