Closed Bug 2091281 Opened 7 days ago Closed 6 days ago

[clang-23] Perma /builds/worker/checkouts/gecko/mozglue/misc/TimeStamp.cpp(93,13): error: variable 'sScalesInitialized' set but not used [-Werror,-Wunused-but-set-global]

Categories

(Core :: mozglue, defect, P5)

defect

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox-esr153 --- unaffected
firefox160 --- unaffected
firefox161 --- unaffected
firefox162 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: glandium)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

Filed by: mh [at] glandium.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=606121693&repo=try&task=cMtdG-SySXOy7JTbgyK7Cw.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cMtdG-SySXOy7JTbgyK7Cw/runs/0/artifacts/public/logs/live_backing.log


[task 2026-11-10T05:38:30.733+00:00] 05:38:30    ERROR -  /builds/worker/checkouts/gecko/mozglue/misc/TimeStamp.cpp(93,13): error: variable 'sScalesInitialized' set but not used [-Werror,-Wunused-but-set-global]
[task 2026-11-10T05:38:30.733+00:00] 05:38:30     INFO -     93 | static bool sScalesInitialized = false;
[task 2026-11-10T05:38:30.733+00:00] 05:38:30     INFO -        |             ^
[task 2026-11-10T05:38:30.733+00:00] 05:38:30     INFO -  1 error generated.
[task 2026-11-10T05:38:30.733+00:00] 05:38:30    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:527: TimeStamp.obj] Error 1
[task 2026-11-10T05:38:30.734+00:00] 05:38:30     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/mozglue/misc'
Blocks: clang-23
Keywords: regression
Regressed by: 2073111

It is only used in a MOZ_ASSERT.

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 2073111

Status: ASSIGNED → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: