Closed
Bug 825105
Opened 12 years ago
Closed 12 years ago
Fix five clang warnings in media/mtransport/
Categories
(Core :: WebRTC, defect)
Core
WebRTC
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: n.nethercote, Assigned: n.nethercote)
References
(Blocks 1 open bug)
Details
(Whiteboard: [WebRTC], [blocking-webrtc-], [qa-])
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
ekr
:
review+
|
Details | Diff | Splinter Review |
clang 3.2. warns:
media/mtransport/nricectx.h:180:8 [-Wunused-private-field] private field 'offerer_' is not used
media/mtransport/nricemediastream.h:113:13 [-Wunused-private-field] private field 'components_' is not used
media/mtransport/test/runnable_utils_unittest.cpp:48:52 [-Wextra-semi] extra ';' inside a class
media/mtransport/test/sctp_unittest.cpp:265:22 [-Wunused-private-field] private field 'peer_' is not used
media/mtransport/test/sctp_unittest.cpp:269:8 [-Wunused-private-field] private field 'gathering_complete_' is not used
media/mtransport/test/sctp_unittest.cpp:271:10 [-Wunused-private-field] private field 'to_send_' is not used
Assignee | ||
Comment 1•12 years ago
|
||
This patch fixes the warnings.
Attachment #696186 -
Flags: review?(rjesup)
Comment 2•12 years ago
|
||
Comment on attachment 696186 [details] [diff] [review]
Fix five clang warnings in media/mtransport/.
Review of attachment 696186 [details] [diff] [review]:
-----------------------------------------------------------------
Ponging review to ekr, who wrote this code. It's possible some of these unused params are intended for future updates and we want to keep the API unchanged. Also, this is an imported module, so there may be issues there.
Attachment #696186 -
Flags: review?(rjesup) → review?(ekr)
Assignee | ||
Updated•12 years ago
|
Blocks: buildwarning
Comment 3•12 years ago
|
||
Comment on attachment 696186 [details] [diff] [review]
Fix five clang warnings in media/mtransport/.
Review of attachment 696186 [details] [diff] [review]:
-----------------------------------------------------------------
The unused params in nricectx* are intended for future use. The other changes are fine/
Assignee | ||
Comment 4•12 years ago
|
||
> The unused params in nricectx* are intended for future use.
I'll reinstate them, add a |(void)foo;| usage to quell the warning, and add a short comment about the future usage.
Updated•12 years ago
|
Whiteboard: [WebRTC], [blocking-webrtc-]
Assignee | ||
Updated•12 years ago
|
Attachment #696186 -
Attachment is obsolete: true
Attachment #696186 -
Flags: review?(ekr)
Assignee | ||
Comment 6•12 years ago
|
||
ekr: review ping. This is a trivial patch.
Updated•12 years ago
|
Attachment #696906 -
Flags: review?(ekr) → review+
Assignee | ||
Comment 7•12 years ago
|
||
Some of the warnings were fixed in the meantime. The landed patch fixes the two remaining ones.
https://hg.mozilla.org/integration/mozilla-inbound/rev/32c248cf7474
Comment 9•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Updated•12 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
•