Closed Bug 815367 Opened 13 years ago Closed 13 years ago

warning: extra ';' [-pedantic] in media/mtransport/test/

Categories

(Core :: WebRTC, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

(Whiteboard: [qa-])

Attachments

(1 file)

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.
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.
Attached patch fix — — Splinter Review
This fixes the issues described above, plus one trailing-semicolon-after-NS_IMPL_ISUPPORTS0 in another test file.
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #685389 - Flags: review?(rjesup)
Summary: media/mtransport/test/sctp_unittest.cpp:36:131: warning: extra ';' [-pedantic] → warning: extra ';' [-pedantic] in media/mtransport/test/
Attachment #685389 - Flags: review?(rjesup) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: