From: Dmitry Volyntsev Date: Wed, 5 Feb 2020 12:26:18 +0000 (+0300) Subject: Removed dead store assignment after ccfa84cea2b3. X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=cfbe5a03a7bf1785d0ba2fdca3a8d3a353654810;p=njs.git Removed dead store assignment after ccfa84cea2b3. Found by Clang static analyzer. --- diff --git a/src/njs_value.c b/src/njs_value.c index 926769ec..2ee52d10 100644 --- a/src/njs_value.c +++ b/src/njs_value.c @@ -710,8 +710,6 @@ njs_object_property_query(njs_vm_t *vm, njs_property_query_t *pq, ret = njs_lvlhsh_find(&proto->shared_hash, &pq->lhq); if (ret == NJS_OK) { - prop = pq->lhq.value; - return njs_prop_private_copy(vm, pq); } }