Skip to content

Commit 38af533

Browse files
removed unneeded parenthesis
1 parent 56389b5 commit 38af533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PyBytesProxyHandler.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ bool PyBytesProxyHandler::getOwnPropertyDescriptor(
288288
JSString *idString = id.toString();
289289

290290
// "length" and "byteLength" properties have the same value
291-
if (((JS_StringEqualsLiteral(cx, idString, "length", &isProperty) && isProperty) || (JS_StringEqualsLiteral(cx, id.toString(), "byteLength", &isProperty) && isProperty))) {
291+
if ((JS_StringEqualsLiteral(cx, idString, "length", &isProperty) && isProperty) || (JS_StringEqualsLiteral(cx, id.toString(), "byteLength", &isProperty) && isProperty)) {
292292
JS::PersistentRootedObject* arrayBuffer = JS::GetMaybePtrFromReservedSlot<JS::PersistentRootedObject>(proxy, OtherSlot);
293293

294294
JS::RootedObject rootedArrayBuffer(cx, arrayBuffer->get());

0 commit comments

Comments
 (0)