Skip to content

Commit 2d1473e

Browse files
authored
Revert "Fix sloppy mode arguments uninitialized value use" (#276)
This reverts commit f8b3a2e. No longer necessary after commit 90d8c6b.
1 parent 79d417a commit 2d1473e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

quickjs.c

-2
Original file line numberDiff line numberDiff line change
@@ -13194,8 +13194,6 @@ static JSValue js_build_mapped_arguments(JSContext *ctx, int argc,
1319413194
if (JS_IsException(val))
1319513195
return val;
1319613196
p = JS_VALUE_GET_OBJ(val);
13197-
p->u.array.u.values = NULL;
13198-
p->u.array.count = 0;
1319913197

1320013198
/* add the length field (cannot fail) */
1320113199
pr = add_property(ctx, p, JS_ATOM_length,

0 commit comments

Comments
 (0)