Closed Bug 1731986 Opened 4 years ago Closed 4 years ago

[clang 13] error: variable 'sample' set but not used

Categories

(Core :: Audio/Video: Playback, defect)

defect

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox-esr78 --- wontfix
firefox-esr91 --- wontfix
firefox92 --- wontfix
firefox93 --- wontfix
firefox94 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[task 2021-09-22T09:05:57.303Z] 09:05:57     INFO -  /builds/worker/checkouts/gecko/dom/media/platforms/wmf/WMFMediaDataDecoder.cpp(42,12): error: variable 'sample' set but not used [-Werror,-Wunused-but-set-variable]
[task 2021-09-22T09:05:57.303Z] 09:05:57     INFO -    uint32_t sample;
[task 2021-09-22T09:05:57.303Z] 09:05:57     INFO -             ^
[task 2021-09-22T09:05:57.303Z] 09:05:57     INFO -  1 error generated.
Regressed by: 1356046
Has Regression Range: --- → yes
Blocks: clang-13
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/9b48d652ae5e Remove unused remains of WMFMediaDataDecoder telemetry. r=bryce
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch

I feel like we're eventually going to get an esr91 uplift request in this bug when some distro tries to update to clang-13 down the road. Did you want to nominate this, Mike?

Flags: needinfo?(mh+mozilla)

(In reply to Ryan VanderMeulen [:RyanVM] from comment #4)

I feel like we're eventually going to get an esr91 uplift request in this bug when some distro tries to update to clang-13 down the road. Did you want to nominate this, Mike?

It's not an error by default. It's only an error because we build with -Werror, which is not recommended downstream unless they use the exact same compiler versions.

Flags: needinfo?(mh+mozilla)

Ah, I missed that this was Werror bustage. Thanks.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: