Bug 250622 - [WebRTC] Fix -Wunused-but-set-variable warnings in the libwebrtc project
Summary: [WebRTC] Fix -Wunused-but-set-variable warnings in the libwebrtc project
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on: 250431 250576
Blocks:
  Show dependency treegraph
 
Reported: 2023-01-14 09:02 PST by David Kilzer (:ddkilzer)
Modified: 2023-01-16 08:59 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2023-01-14 09:02:48 PST
Fix -Wunused-but-set-variable warnings in the libwebrtc project:

Source/ThirdParty/libwebrtc/Source/webrtc/common_video/h265/h265_sps_parser.cc:60:12: error: variable 'golomb_ignored' set but not used [-Werror,-Wunused-but-set-variable]
  uint32_t golomb_ignored;
           ^

Source/ThirdParty/libwebrtc/Source/webrtc/common_video/h265/h265_pps_parser.cc:89:12: error: variable 'bits_tmp' set but not used [-Werror,-Wunused-but-set-variable]
  uint32_t bits_tmp;
           ^
Source/ThirdParty/libwebrtc/Source/webrtc/common_video/h265/h265_pps_parser.cc:90:12: error: variable 'golomb_ignored' set but not used [-Werror,-Wunused-but-set-variable]
  uint32_t golomb_ignored;
           ^
Comment 1 Radar WebKit Bug Importer 2023-01-14 09:03:57 PST
<rdar://problem/104261631>
Comment 2 David Kilzer (:ddkilzer) 2023-01-14 09:09:13 PST
Pull request: https://github.com/WebKit/WebKit/pull/8658
Comment 3 EWS 2023-01-16 08:59:24 PST
Committed 258956@main (d9cd0e72ca7c): <https://commits.webkit.org/258956@main>

Reviewed commits have been landed. Closing PR #8658 and removing active labels.