Closed
Bug 835473
Opened 13 years ago
Closed 13 years ago
gfxFontUtils.cpp:1054:1: warning: ‘bool ValidateLocaTable(const uint8_t*, uint32_t, uint32_t, int16_t, uint16_t)’ defined but not used [-Wunused-function]
Categories
(Core :: Graphics: Text, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
3.74 KB,
patch
|
jfkthame
:
review+
|
Details | Diff | Splinter Review |
New build warning:
{
gfx/thebes/gfxFontUtils.cpp:1054:1: warning: ‘bool ValidateLocaTable(const uint8_t*, uint32_t, uint32_t, int16_t, uint16_t)’ defined but not used [-Wunused-function]
}
Bug 833283 removed the last caller of this function, so the function itself can go too.
Assignee | ||
Comment 1•13 years ago
|
||
MXR search to prove that it's unused:
https://mxr.mozilla.org/mozilla-central/search?string=ValidateLocaTable
Assignee | ||
Comment 2•13 years ago
|
||
This all applies to the adjacent function "ValidateKernTable", too. MXR search for that one, showing that it's unused: https://mxr.mozilla.org/mozilla-central/search?string=ValidateKernTable
Assignee | ||
Comment 3•13 years ago
|
||
Comment 4•13 years ago
|
||
Comment on attachment 707218 [details] [diff] [review]
fix
Yup, the only code that used these was indeed removed by bug 833283. Thanks for cleaning up!
Attachment #707218 -
Flags: review?(jfkthame) → review+
Assignee | ||
Comment 5•13 years ago
|
||
Sure -- thanks for the review!
https://hg.mozilla.org/integration/mozilla-inbound/rev/0c84939daa28
Flags: in-testsuite-
Comment 6•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•