From d17129035dc7db39cdca0bcf7bfb2ce8646fc4ad Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sat, 9 Dec 2023 14:54:13 +0100 Subject: [PATCH] Remove duplicate JS_GetBigInt call (#188) --- quickjs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/quickjs.c b/quickjs.c index 5a4a3a3..caf494c 100644 --- a/quickjs.c +++ b/quickjs.c @@ -47388,7 +47388,6 @@ static JSValue js_bigint_asUintN(JSContext *ctx, res = JS_NewBigInt(ctx); if (JS_IsException(res)) return JS_EXCEPTION; - r = JS_GetBigInt(res); a = JS_ToBigInt(ctx, &a_s, argv[1]); if (!a) { JS_FreeValue(ctx, res);