changeset 2588:2f884aca1644

Removed useless njs_value_assign() call.
author Vadim Zhestikov <v.zhestikov@f5.com>
date Mon, 16 Jun 2025 14:33:05 -0700
parents de3d0a24ee1b
children 579688a17e37
files src/njs_object.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/njs_object.c	Fri Jun 06 16:45:15 2025 -0700
+++ b/src/njs_object.c	Mon Jun 16 14:33:05 2025 -0700
@@ -2431,7 +2431,6 @@
         return NULL;
     }
 
-    njs_value_assign(njs_prop_value(prop), constructor);
     prop->enumerable = 0;
 
     lhq.value = prop;