Closed
Bug 560274
Opened 15 years ago
Closed 15 years ago
Fix nsAccelerometer out-of-order init list [warning: 'nsAccelerometer::mEnabled' will be initialized after...mNewListener]
Categories
(Core :: Widget, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
(Whiteboard: [build_warning])
Attachments
(1 file)
939 bytes,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
Filing bug on this warning:
> widget/src/xpwidgets/nsAccelerometer.h: In constructor 'nsAccelerometer::nsAccelerometer()':
> widget/src/xpwidgets/nsAccelerometer.h:79: warning: 'nsAccelerometer::mEnabled' will be initialized after
> widget/src/xpwidgets/nsAccelerometer.h:71: warning: 'PRBool nsAccelerometer::mNewListener'
> widget/src/xpwidgets/nsAccelerometer.cpp:102: warning: when initialized here
Fix attached.
Attachment #439976 -
Flags: review?(dougt)
Updated•15 years ago
|
Attachment #439976 -
Flags: review?(dougt) → review+
Assignee | ||
Comment 1•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•15 years ago
|
Whiteboard: [build_warning]
You need to log in
before you can comment on or make changes to this bug.
Description
•