Closed
Bug 839257
Opened 12 years ago
Closed 12 years ago
Factory.cpp:70:1: warning: ‘bool HasCPUIDBit(unsigned int, CPUIDRegister, unsigned int)’ defined but not used [-Wunused-function]
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
Build warning:
{
gfx/2d/Factory.cpp:70:1: warning: ‘bool HasCPUIDBit(unsigned int, CPUIDRegister, unsigned int)’ defined but not used [-Wunused-function]
}
We define HasCPUIDBit() if cpuid.h is available, but then we only actually use it in a more restricted set of circumstances (if the first #if clause in Factory::HasSSE2() fails).
We can fix this by just marking the HasCPUIDBit impls as inline.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #711517 -
Flags: review? → review?(bas)
Updated•12 years ago
|
Attachment #711517 -
Flags: review?(bas) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Flags: in-testsuite-
Comment 3•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•