[Webkit-unassigned] [Bug 250576] New: [WebRTC] Fix -Wunused-but-set-variable warnings in the libvpx project

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 13 07:46:38 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=250576

            Bug ID: 250576
           Summary: [WebRTC] Fix -Wunused-but-set-variable warnings in the
                    libvpx project
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: youennf at gmail.com
        Depends on: 250431

Fix -Wunused-but-set-variable warnings in the libvpx project:

/Volumes/Data/worker/macOS-AppleSilicon-Ventura-Debug-Build-EWS/build/Source/ThirdParty/libwebrtc/Source/third_party/libvpx/source/libvpx/vp9/encoder/vp9_mbgraph.c:246:9: error: variable 'arf_y_in_offset' set but not used [-Werror,-Wunused-but-set-variable]
    int arf_y_in_offset = arf_y_offset;
        ^
/Volumes/Data/worker/macOS-AppleSilicon-Ventura-Debug-Build-EWS/build/Source/ThirdParty/libwebrtc/Source/third_party/libvpx/source/libvpx/vp9/encoder/vp9_mbgraph.c:247:9: error: variable 'gld_y_in_offset' set but not used [-Werror,-Wunused-but-set-variable]
    int gld_y_in_offset = gld_y_offset;
        ^

Originally found by this EWS build for Bug 250431:  <https://ews-build.webkit.org/#/builders/85/builds/2919>

Same as upstream commit:

  vp9,update_mbgraph_frame_stats: rm unused variables
  https://github.com/webmproject/libvpx/commit/a165f4ba64ec8c992ca57a1b4444cd4a19527dde


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=250431
[Bug 250431] Start extracting common WARNING_CFLAGS into CommonBase.xcconfig
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230113/1e227632/attachment.htm>


More information about the webkit-unassigned mailing list