Fix -Wreturn-type and -Wunused-parameter warnings, January 2022 edition
https://bugs.webkit.org/show_bug.cgi?id=235336
Patch by Michael Catanzaro <Michael Catanzaro> on 2022-01-19
Reviewed by Adrian Perez de Castro.
Source/JavaScriptCore:
- wasm/WasmCompilationMode.h:
(JSC::Wasm::isOSREntry):
(JSC::Wasm::isAnyBBQ):
(JSC::Wasm::isAnyOMG):
Source/WebCore:
- Modules/push-api/PushCrypto.cpp:
(WebCore::PushCrypto::computeP256DHSharedSecret):
- bindings/js/JSCSSRuleCustom.cpp:
(WebCore::toJSNewlyCreated):
- contentextensions/DFABytecodeCompiler.cpp:
(WebCore::ContentExtensions::toSizeT):
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::valueForAnimationDirection):
(WebCore::valueForAnimationFillMode):
(WebCore::valueForAnimationPlayState):
- css/CSSPrimitiveValue.cpp:
(WebCore::lengthOfViewportPhysicalAxisForLogicalAxis):
- platform/graphics/ColorInterpolation.cpp:
(WebCore::fixupHueComponentsPriorToInterpolation):
- platform/graphics/ColorInterpolation.h:
(WebCore::interpolateColors):
- platform/graphics/filters/FEColorMatrix.cpp:
(WebCore::FEColorMatrix::createApplier const):
- platform/graphics/filters/FEComponentTransfer.cpp:
(WebCore::FEComponentTransfer::createApplier const):
- platform/graphics/filters/SourceGraphic.cpp:
(WebCore::SourceGraphic::createApplier const):