[njs] Removed useless njs_value_assign() call.
noreply at nginx.com
noreply at nginx.com
Thu Jul 3 16:35:03 UTC 2025
details: https://github.com/nginx/njs/commit/fe8a0e58d7bafe5a55705b30da5ac9722fa07e17
branches: master
commit: fe8a0e58d7bafe5a55705b30da5ac9722fa07e17
user: Vadim Zhestikov <v.zhestikov at f5.com>
date: Mon, 16 Jun 2025 14:33:05 -0700
description:
Removed useless njs_value_assign() call.
---
src/njs_object.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/njs_object.c b/src/njs_object.c
index dec312c5..b842b1ab 100644
--- a/src/njs_object.c
+++ b/src/njs_object.c
@@ -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;
More information about the nginx-devel
mailing list