Skip to content

Commit 5f6171c

Browse files
removed some unused vars (#245)
1 parent 4b138c8 commit 5f6171c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

quickjs.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -5561,7 +5561,7 @@ static void mark_children(JSRuntime *rt, JSGCObjectHeader *gp,
55615561
{
55625562
JSShape **shape, *(*shapes)[IC_CACHE_ITEM_CAPACITY];
55635563
JSFunctionBytecode *b = (JSFunctionBytecode *)gp;
5564-
int i, j;
5564+
int i;
55655565
for(i = 0; i < b->cpool_count; i++) {
55665566
JS_MarkValue(rt, b->cpool[i], mark_func);
55675567
}
@@ -36210,7 +36210,7 @@ static const JSCFunctionListEntry js_error_proto_funcs[] = {
3621036210

3621136211
static JSValue js_error_get_stackTraceLimit(JSContext *ctx, JSValue this_val)
3621236212
{
36213-
JSValue val, ret;
36213+
JSValue val;
3621436214

3621536215
val = JS_ToObject(ctx, this_val);
3621636216
if (JS_IsException(val))
@@ -36232,7 +36232,7 @@ static JSValue js_error_set_stackTraceLimit(JSContext *ctx, JSValue this_val, JS
3623236232

3623336233
static JSValue js_error_get_prepareStackTrace(JSContext *ctx, JSValue this_val)
3623436234
{
36235-
JSValue val, ret;
36235+
JSValue val;
3623636236

3623736237
val = JS_ToObject(ctx, this_val);
3623836238
if (JS_IsException(val))
@@ -48764,7 +48764,7 @@ static JSValue js_typed_array_at(JSContext *ctx, JSValue this_val,
4876448764
static JSValue js_typed_array_with(JSContext *ctx, JSValue this_val,
4876548765
int argc, JSValue *argv)
4876648766
{
48767-
JSValue arr, val, ret;
48767+
JSValue arr, val;
4876848768
JSObject *p;
4876948769
int64_t idx, len;
4877048770

@@ -51645,7 +51645,7 @@ int resize_ic_hash(JSContext *ctx, JSInlineCache *ic)
5164551645

5164651646
int free_ic(JSRuntime* rt, JSInlineCache *ic)
5164751647
{
51648-
uint32_t i, j;
51648+
uint32_t i;
5164951649
JSInlineCacheHashSlot *ch, *ch_next;
5165051650
JSShape **shape, *(*shapes)[IC_CACHE_ITEM_CAPACITY];
5165151651
if (ic->cache) {

0 commit comments

Comments
 (0)