Skip to content

Commit 59627a1

Browse files
cleanup unused var
1 parent 51b401d commit 59627a1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/PyBytesProxyHandler.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,6 @@ bool PyBytesProxyHandler::getOwnPropertyDescriptor(
337337

338338
// "constructor" property
339339
if (JS_StringEqualsLiteral(cx, id.toString(), "constructor", &isProperty) && isProperty) {
340-
JS::RootedObject global(cx, JS::GetNonCCWObjectGlobal(proxy));
341-
342340
JS::RootedObject uint8ArrayPrototype(cx);
343341
if (!JS_GetClassPrototype(cx, JSProto_Uint8Array, &uint8ArrayPrototype)) {
344342
return false;

0 commit comments

Comments
 (0)