Closed
Bug 836303
Opened 11 years ago
Closed 11 years ago
sctp_unittest.cpp:265:22: warning: private field 'peer_' is not used [-Wunused-private-field] (also 'gathering_complete_' and 'to_send_')
Categories
(Core :: WebRTC, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [WebRTC] [blocking-webrtc-] [qa-])
Attachments
(1 file, 1 obsolete file)
1.79 KB,
patch
|
ekr
:
review+
|
Details | Diff | Splinter Review |
Build warnings for sctp_unittest.cpp: { ../../../../media/mtransport/test/sctp_unittest.cpp:265:22: warning: private field 'peer_' is not used [-Wunused-private-field] TransportTestPeer *peer_; ^ ../../../../media/mtransport/test/sctp_unittest.cpp:269:8: warning: private field 'gathering_complete_' is not used [-Wunused-private-field] bool gathering_complete_; ^ ../../../../media/mtransport/test/sctp_unittest.cpp:271:10: warning: private field 'to_send_' is not used [-Wunused-private-field] size_t to_send_; ^ 3 warnings generated. } These are all for the class "TransportTestPeer". It looks like there are other classes defined in this .cpp file that have & use similar member-variables, so these were probably just copypaste cruft (or perhaps formerly-used vairables).
Assignee | ||
Comment 1•11 years ago
|
||
These warnings are from clang, and they're visible in this build log: https://tbpl.mozilla.org/php/getParsedLog.php?id=19265538&tree=Try
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #708137 -
Flags: review?(ekr)
Assignee | ||
Comment 3•11 years ago
|
||
(oops, previous version had 1 extra line removed that wasn't supposed to be.)
Assignee: nobody → dholbert
Attachment #708137 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #708137 -
Flags: review?(ekr)
Attachment #708138 -
Flags: review?(ekr)
Updated•11 years ago
|
Whiteboard: [WebRTC] [blocking-webrtc-]
Comment 4•11 years ago
|
||
Comment on attachment 708138 [details] [diff] [review] fix v2 Review of attachment 708138 [details] [diff] [review]: ----------------------------------------------------------------- lgtm
Attachment #708138 -
Flags: review?(ekr) → review+
Assignee | ||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/c23e34b50930
Flags: in-testsuite-
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c23e34b50930
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Updated•11 years ago
|
Whiteboard: [WebRTC] [blocking-webrtc-] → [WebRTC] [blocking-webrtc-] [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•