Skip to content

Commit

Permalink
Fix unused parameter warnings when !ENABLE(WEB_AUDIO)
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=259002

Reviewed by Youenn Fablet.

Add `UNUSED_PARAM`s to the `!ENABLE(WEB_AUDIO)` block.

* Source/WebCore/bindings/js/SerializedScriptValue.cpp:
(WebCore::isTypeExposedToGlobalObject):

Canonical link: https://commits.webkit.org/265921@main
  • Loading branch information
donny-dont committed Jul 10, 2023
1 parent 79ba0fe commit 784117b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/WebCore/bindings/js/SerializedScriptValue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ static bool isTypeExposedToGlobalObject(JSC::JSGlobalObject& globalObject, Seria
}
return false;
#else
UNUSED_PARAM(globalObject);
UNUSED_PARAM(tag);
return true;
#endif
}
Expand Down

0 comments on commit 784117b

Please sign in to comment.