[webkit-changes] [WebKit/WebKit] dc2a52: [WTF] fix empty initializer of sched_param

Commit Queue noreply at github.com
Mon Mar 4 14:42:40 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dc2a5279c02a165ed42491edd7da88d15a5ed738
      https://github.com/WebKit/WebKit/commit/dc2a5279c02a165ed42491edd7da88d15a5ed738
  Author: Dennis Camera <dennis.camera+webkit at riiengineering.ch>
  Date:   2024-03-04 (Mon, 04 Mar 2024)

  Changed paths:
    M Source/WTF/wtf/linux/RealTimeThreads.cpp
    M Source/WTF/wtf/posix/ThreadingPOSIX.cpp

  Log Message:
  -----------
  [WTF] fix empty initializer of sched_param
https://bugs.webkit.org/show_bug.cgi?id=270474

Reviewed by Michael Catanzaro.

Initializing the sched_param structs to zero with { 0 } fails when using GCC 13.

* Source/WTF/wtf/linux/RealTimeThreads.cpp: change struct sched_param zero initializer.
* Source/WTF/wtf/posix/ThreadingPOSIX.cpp: change struct sched_param zero initializer.

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list