[webkit-changes] [WebKit/WebKit] a6a574: Fix -Wformat errors in WebGamepadProvider

Don Olmstead noreply at github.com
Tue Nov 29 17:54:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a6a57497f1dd7a9cad5d77461ef07f8234ad7238
      https://github.com/WebKit/WebKit/commit/a6a57497f1dd7a9cad5d77461ef07f8234ad7238
  Author: Don Olmstead <don.olmstead at sony.com>
  Date:   2022-11-29 (Tue, 29 Nov 2022)

  Changed paths:
    M Source/WebKit/WebProcess/Gamepad/WebGamepadProvider.cpp

  Log Message:
  -----------
  Fix -Wformat errors in WebGamepadProvider
https://bugs.webkit.org/show_bug.cgi?id=248492

Reviewed by Alex Christensen.

Clang 15 reports the error : using 'public' format specifier annotation
outside of os_log()/os_trace() [-Werror,-Wformat]. Use
`PUBLIC_LOG_STRING` which will expand to `public` when `USE(OS_LOG)` to
preserve behavior.

* Source/WebKit/WebProcess/Gamepad/WebGamepadProvider.cpp:

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




More information about the webkit-changes mailing list