]> git.kaiwu.me - njs.git/commitdiff
Removed useless njs_value_assign() call.
authorVadim Zhestikov <v.zhestikov@f5.com>
Mon, 16 Jun 2025 21:33:05 +0000 (14:33 -0700)
committerVadimZhestikov <108960056+VadimZhestikov@users.noreply.github.com>
Thu, 3 Jul 2025 16:34:25 +0000 (09:34 -0700)
src/njs_object.c

index dec312c5b43a1d91d3b7d40a9184381e03a0d143..b842b1abd98ab8713db557c38b8c29b2caaa61e4 100644 (file)
@@ -2431,7 +2431,6 @@ njs_property_constructor_set(njs_vm_t *vm, njs_flathsh_t *hash,
         return NULL;
     }
 
-    njs_value_assign(njs_prop_value(prop), constructor);
     prop->enumerable = 0;
 
     lhq.value = prop;