[webkit-changes] [WebKit/WebKit] 5b0c54: Misc compiler warnings, mid October 2022 edition

Michael Catanzaro noreply at github.com
Wed Oct 12 07:39:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5b0c545def4c2ea8e0fe6a463e41ee135fcd454c
      https://github.com/WebKit/WebKit/commit/5b0c545def4c2ea8e0fe6a463e41ee135fcd454c
  Author: Michael Catanzaro <mcatanzaro at redhat.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M Source/WebCore/css/CSSValue.cpp
    M Source/WebCore/css/StyleRule.cpp
    M Source/WebCore/html/canvas/WebGL2RenderingContext.cpp
    M Source/WebCore/platform/VideoPixelFormat.cpp
    M Source/WebCore/platform/graphics/ColorBlending.cpp

  Log Message:
  -----------
  Misc compiler warnings, mid October 2022 edition
https://bugs.webkit.org/show_bug.cgi?id=246295

Reviewed by Adrian Perez de Castro.

This contains the usual regular batch of boring trivial warning fixes.
Most of these changes fix -Wreturn-type warnings, which as usual is the
biggest offender. There is also one -Wunused-parameter and one
-Wredundant-move.

* Source/WebCore/css/CSSValue.cpp:
(WebCore::CSSValue::visitDerived):
* Source/WebCore/css/StyleRule.cpp:
(WebCore::StyleRuleBase::visitDerived):
* Source/WebCore/html/canvas/WebGL2RenderingContext.cpp:
(WebCore::WebGL2RenderingContext::createVertexArray):
* Source/WebCore/platform/VideoPixelFormat.cpp:
(WebCore::convertVideoFramePixelFormat):
* Source/WebCore/platform/graphics/ColorBlending.cpp:
(WebCore::blend):

Canonical link: https://commits.webkit.org/255432@main




More information about the webkit-changes mailing list