Closed
Bug 824140
Opened 12 years ago
Closed 12 years ago
out-of-order init list in Netd.cpp
Categories
(Core :: IPC, defect)
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
682 bytes,
patch
|
slee
:
review+
|
Details | Diff | Splinter Review |
Build warning:
{
ipc/netd/Netd.h: In constructor 'mozilla::ipc::NetdClient::NetdClient()':
ipc/netd/Netd.h:62: warning: 'mozilla::ipc::NetdClient::mSocket' will be initialized after
ipc/netd/Netd.h:59: warning: 'MessageLoopForIO* mozilla::ipc::NetdClient::mIOLoop'
ipc/netd/Netd.cpp:87: warning: when initialized here
}
Bug 805478 added mSocket there; it just added it at the wrong point in the list.
Assignee | ||
Comment 1•12 years ago
|
||
This makes the init-list ordering match the order in the .h file.
Here's the relevant chunk of the .h file, for reference:
https://mxr.mozilla.org/mozilla-central/source/ipc/netd/Netd.h?mark=59-66#59
Comment 2•12 years ago
|
||
Comment on attachment 695033 [details] [diff] [review]
fix
Review of attachment 695033 [details] [diff] [review]:
-----------------------------------------------------------------
It looks good.
Attachment #695033 -
Flags: review?(slee) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in
before you can comment on or make changes to this bug.
Description
•