[njs] Removed not used arg from njs_get_own_ordered_keys().
Vadim Zhestikov
v.zhestikov at f5.com
Tue Dec 12 03:13:01 UTC 2023
details: https://hg.nginx.org/njs/rev/59bd78b060c9
branches:
changeset: 2246:59bd78b060c9
user: Vadim Zhestikov <v.zhestikov at f5.com>
date: Mon Dec 11 19:10:36 2023 -0800
description:
Removed not used arg from njs_get_own_ordered_keys().
diffstat:
src/njs_object.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r bc80bcb3102c -r 59bd78b060c9 src/njs_object.c
--- a/src/njs_object.c Tue Dec 05 08:54:18 2023 -0800
+++ b/src/njs_object.c Mon Dec 11 19:10:36 2023 -0800
@@ -897,7 +897,7 @@ njs_object_enumerate_object(njs_vm_t *vm
static njs_int_t
njs_get_own_ordered_keys(njs_vm_t *vm, const njs_object_t *object,
- const njs_object_t *parent, njs_array_t *items, njs_object_enum_t kind,
+ const njs_object_t *parent, njs_array_t *items,
njs_object_enum_type_t type, njs_bool_t all)
{
double num;
@@ -1163,8 +1163,7 @@ njs_object_own_enumerate_object(njs_vm_t
switch (kind) {
case NJS_ENUM_KEYS:
- ret = njs_get_own_ordered_keys(vm, object, parent, items, kind, type,
- all);
+ ret = njs_get_own_ordered_keys(vm, object, parent, items, type, all);
if (ret != NJS_OK) {
return NJS_ERROR;
}
@@ -1178,8 +1177,8 @@ njs_object_own_enumerate_object(njs_vm_t
return NJS_ERROR;
}
- ret = njs_get_own_ordered_keys(vm, object, parent, items_sorted, kind,
- type, all);
+ ret = njs_get_own_ordered_keys(vm, object, parent, items_sorted, type,
+ all);
if (ret != NJS_OK) {
return NJS_ERROR;
}
More information about the nginx-devel
mailing list