Closed
Bug 815367
Opened 13 years ago
Closed 13 years ago
warning: extra ';' [-pedantic] in media/mtransport/test/
Categories
(Core :: WebRTC, defect)
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
(Whiteboard: [qa-])
Attachments
(1 file)
2.03 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
Now that bug 811118 enabled WebRTC unittests, I'm seeing instances of the same issue from bug 812278, in the unittests directory. (MOZ_MTLOG_MODULE having an unnecessary trailing ";")
e.g.:
> media/mtransport/test/sctp_unittest.cpp:36:131: warning: extra ';' [-pedantic]
> media/mtransport/test/transport_unittests.cpp:41:131: warning: extra ';' [-pedantic]
and maybe others.
Filing this bug on fixing those.
Assignee | ||
Comment 1•13 years ago
|
||
I also get:
> media/mtransport/test/sctp_unittest.cpp:36:25: warning: ‘PRLogModuleInfo* getLogModule()’ defined but not used [-Wunused-function]
...indicating that MOZ_MTLOG_MODULE isn't used in that file, so rather than dropping the trailing semicolon from the line in that file, we can just remove the line entirely.
Assignee | ||
Comment 2•13 years ago
|
||
This fixes the issues described above, plus one trailing-semicolon-after-NS_IMPL_ISUPPORTS0 in another test file.
Assignee | ||
Updated•13 years ago
|
Summary: media/mtransport/test/sctp_unittest.cpp:36:131: warning: extra ';' [-pedantic] → warning: extra ';' [-pedantic] in media/mtransport/test/
Updated•13 years ago
|
Attachment #685389 -
Flags: review?(rjesup) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Flags: in-testsuite-
Comment 4•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Updated•13 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•