Closed
Bug 1345626
Opened 8 years ago
Closed 8 years ago
build error: ‘nsresult {anonymous}::KeyedHistogram::GetDataset(uint32_t*) const’ defined but not used
Categories
(Toolkit :: Telemetry, defect, P3)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: tromey, Assigned: tromey)
References
Details
(Whiteboard: [measurement:client])
Attachments
(1 file)
I'm on x86-64 Fedora 25, using the system gcc.
After bug 1341236 landed I see this when building:
/home/tromey/firefox-git/gecko/toolkit/components/telemetry/TelemetryHistogram.cpp:988:1: error: ‘nsresult {anonymous}::KeyedHistogram::GetDataset(uint32_t*) const’ defined but not used [-Werror=unused-function]
KeyedHistogram::GetDataset(uint32_t* dataset) const
^~~~~~~~~~~~~~
Sure enough, this class is private to the file and the method in question
is not called. Simply deleting it worked for me.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → ttromey
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8845121 [details]
Bug 1345626 - remove KeyedHistogram::GetDataset;
https://reviewboard.mozilla.org/r/118338/#review120424
Good catch, that slipped through in the other bug. I'm not sure why we didn't catch that with the try push tough: maybe different compiler version? Anyway, thank you!
Attachment #8845121 -
Flags: review?(alessio.placitelli) → review+
Updated•8 years ago
|
Priority: -- → P3
Summary: build failure after bug 1341236 → build error: ‘nsresult {anonymous}::KeyedHistogram::GetDataset(uint32_t*) const’ defined but not used
Whiteboard: [measurement:client]
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Alessio Placitelli [:Dexter] from comment #2)
> Good catch, that slipped through in the other bug. I'm not sure why we
> didn't catch that with the try push tough: maybe different compiler version?
I didn't look but that seems likely.
Pushed by ttromey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/84ad1f7264d5
remove KeyedHistogram::GetDataset; r=Dexter
Comment 5•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•