[webkit-changes] [WebKit/WebKit] 0b614a: Fix misc compiler warnings, January 2023 edition

Michael Catanzaro noreply at github.com
Sun Jan 22 07:37:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0b614af9503260341492d216d5f9e6998b390e57
      https://github.com/WebKit/WebKit/commit/0b614af9503260341492d216d5f9e6998b390e57
  Author: Michael Catanzaro <mcatanzaro at redhat.com>
  Date:   2023-01-22 (Sun, 22 Jan 2023)

  Changed paths:
    M Source/JavaScriptCore/ftl/FTLOperations.cpp
    M Source/ThirdParty/xdgmime/CMakeLists.txt
    M Source/WebCore/page/scrolling/nicosia/ScrollingTreePositionedNodeNicosia.h
    M Source/WebCore/platform/audio/AudioUtilities.cpp
    M Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
    M Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp
    M Source/WebKit/UIProcess/gtk/ViewGestureControllerGtk.cpp
    M Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitFrame.cpp
    M Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp

  Log Message:
  -----------
  Fix misc compiler warnings, January 2023 edition
https://bugs.webkit.org/show_bug.cgi?id=250945

Reviewed by Philippe Normand.

It's been a long time since my last round of warning fixes, since
warnings on EWS are fatal now, which is saving me a lot of effort. But
today I decided to try building with Clang instead of GCC, and it found
some problems that GCC misses.

* Source/JavaScriptCore/ftl/FTLOperations.cpp:
(JSC::FTL::JSC_DEFINE_JIT_OPERATION):
* Source/ThirdParty/xdgmime/CMakeLists.txt:
* Source/WebCore/page/scrolling/nicosia/ScrollingTreePositionedNodeNicosia.h:
* Source/WebCore/platform/audio/AudioUtilities.cpp:
(WebCore::AudioUtilities::timeToSampleFrame):
* Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
* Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseTakeViewSnapshot):
* Source/WebKit/UIProcess/gtk/ViewGestureControllerGtk.cpp:
(WebKit::ViewGestureController::beginSwipeGesture):
(WebKit::ViewGestureController::snapshot):
* Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitFrame.cpp:
(webkitFrameGetJSCValuesForElementsInWorld):
* Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:

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




More information about the webkit-changes mailing list