Bug 812278: Remove no-longer-necessary semicolons after MOZ_MTLOG_MODULE macro invocations, to fix GCC pedantic build warnings. r=jesup
authorDaniel Holbert <dholbert@cs.stanford.edu>
Thu, 15 Nov 2012 17:50:26 -0800
changeset 113458 cc66f9bb15891a7218b3f2687ac0c059d33ed792
parent 113457 90c362bfd15651c04d4fda407876ec83e943d6d0
child 113459 b68af28e3ef213ffba364265325648023effddc4
push id18159
push userdholbert@mozilla.com
push dateFri, 16 Nov 2012 01:50:45 +0000
treeherdermozilla-inbound@b68af28e3ef2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup
bugs812278
milestone19.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 812278: Remove no-longer-necessary semicolons after MOZ_MTLOG_MODULE macro invocations, to fix GCC pedantic build warnings. r=jesup
media/mtransport/dtlsidentity.cpp
media/mtransport/nricectx.cpp
media/mtransport/nricemediastream.cpp
media/mtransport/transportlayer.cpp
media/mtransport/transportlayerdtls.cpp
media/mtransport/transportlayerice.cpp
media/mtransport/transportlayerlog.cpp
media/mtransport/transportlayerloopback.cpp
media/mtransport/transportlayerprsock.cpp
--- a/media/mtransport/dtlsidentity.cpp
+++ b/media/mtransport/dtlsidentity.cpp
@@ -11,17 +11,17 @@
 #include "pk11pub.h"
 #include "sechash.h"
 #include "nsError.h"
 #include "dtlsidentity.h"
 #include "logging.h"
 
 namespace mozilla {
 
-MOZ_MTLOG_MODULE("mtransport");
+MOZ_MTLOG_MODULE("mtransport")
 
 DtlsIdentity::~DtlsIdentity() {
   // XXX: make cert_ a smart pointer to avoid this, after we figure
   // out the linking problem.
   if (cert_)
     CERT_DestroyCertificate(cert_);
 }
 
--- a/media/mtransport/nricectx.cpp
+++ b/media/mtransport/nricectx.cpp
@@ -79,17 +79,17 @@ extern "C" {
 
 // Local includes
 #include "logging.h"
 #include "nricectx.h"
 #include "nricemediastream.h"
 
 namespace mozilla {
 
-MOZ_MTLOG_MODULE("mtransport");
+MOZ_MTLOG_MODULE("mtransport")
 
 static bool initialized = false;
 
 // Implement NSPR-based crypto algorithms
 static int nr_crypto_nss_random_bytes(UCHAR *buf, int len) {
   ScopedPK11SlotInfo slot(PK11_GetInternalSlot());
   if (!slot)
     return R_INTERNAL;
--- a/media/mtransport/nricemediastream.cpp
+++ b/media/mtransport/nricemediastream.cpp
@@ -65,17 +65,17 @@ extern "C" {
 
 // Local includes
 #include "logging.h"
 #include "nricectx.h"
 #include "nricemediastream.h"
 
 namespace mozilla {
 
-MOZ_MTLOG_MODULE("mtransport");
+MOZ_MTLOG_MODULE("mtransport")
 
 // NrIceMediaStream
 RefPtr<NrIceMediaStream>
 NrIceMediaStream::Create(NrIceCtx *ctx,
                          const std::string& name,
                          int components) {
   RefPtr<NrIceMediaStream> stream =
     new NrIceMediaStream(ctx, name, components);
--- a/media/mtransport/transportlayer.cpp
+++ b/media/mtransport/transportlayer.cpp
@@ -9,17 +9,17 @@
 
 #include "logging.h"
 #include "transportflow.h"
 #include "transportlayer.h"
 
 // Logging context
 namespace mozilla {
 
-MOZ_MTLOG_MODULE("mtransport");
+MOZ_MTLOG_MODULE("mtransport")
 
 nsresult TransportLayer::Init() {
   if (state_ != TS_NONE)
     return state_ == TS_ERROR ? NS_ERROR_FAILURE : NS_OK;
 
   nsresult rv = InitInternal();
 
   if (!NS_SUCCEEDED(rv)) {
--- a/media/mtransport/transportlayerdtls.cpp
+++ b/media/mtransport/transportlayerdtls.cpp
@@ -23,17 +23,17 @@
 
 #include "dtlsidentity.h"
 #include "logging.h"
 #include "transportflow.h"
 #include "transportlayerdtls.h"
 
 namespace mozilla {
 
-MOZ_MTLOG_MODULE("mtransport");
+MOZ_MTLOG_MODULE("mtransport")
 
 static PRDescIdentity transport_layer_identity = PR_INVALID_IO_LAYER;
 
 // TODO: Implement a mode for this where
 // the channel is not ready until confirmed externally
 // (e.g., after cert check).
 
 #define UNIMPLEMENTED                                           \
--- a/media/mtransport/transportlayerice.cpp
+++ b/media/mtransport/transportlayerice.cpp
@@ -77,17 +77,17 @@ extern "C" {
 #include "transportlayerice.h"
 
 namespace mozilla {
 
 #ifdef ERROR
 #undef ERROR
 #endif
 
-MOZ_MTLOG_MODULE("mtransport");
+MOZ_MTLOG_MODULE("mtransport")
 
 TransportLayerIce::TransportLayerIce(const std::string& name,
     RefPtr<NrIceCtx> ctx, RefPtr<NrIceMediaStream> stream,
                                      int component)
     : name_(name), ctx_(ctx), stream_(stream), component_(component) {
   target_ = ctx->thread();
 
   stream_->SignalReady.connect(this, &TransportLayerIce::IceReady);
--- a/media/mtransport/transportlayerlog.cpp
+++ b/media/mtransport/transportlayerlog.cpp
@@ -7,17 +7,17 @@
 // Original author: ekr@rtfm.com
 
 #include "logging.h"
 #include "transportflow.h"
 #include "transportlayerlog.h"
 
 namespace mozilla {
 
-MOZ_MTLOG_MODULE("mtransport");
+MOZ_MTLOG_MODULE("mtransport")
 
 void TransportLayerLogging::WasInserted() {
   if (downward_) {
     downward_->SignalStateChange.connect(
         this, &TransportLayerLogging::StateChange);
     downward_->SignalPacketReceived.connect(
         this, &TransportLayerLogging::PacketReceived);
     SetState(downward_->state());
--- a/media/mtransport/transportlayerloopback.cpp
+++ b/media/mtransport/transportlayerloopback.cpp
@@ -20,17 +20,17 @@
 #include "nsServiceManagerUtils.h"
 
 #include "logging.h"
 #include "transportflow.h"
 #include "transportlayerloopback.h"
 
 namespace mozilla {
 
-MOZ_MTLOG_MODULE("mtransport");
+MOZ_MTLOG_MODULE("mtransport")
 
 nsresult TransportLayerLoopback::Init() {
   timer_ = do_CreateInstance(NS_TIMER_CONTRACTID);
   MOZ_ASSERT(timer_);
   if (!timer_)
     return NS_ERROR_FAILURE;
 
   nsresult rv;
--- a/media/mtransport/transportlayerprsock.cpp
+++ b/media/mtransport/transportlayerprsock.cpp
@@ -18,17 +18,17 @@
 #include "nsXPCOM.h"
 
 #include "logging.h"
 #include "transportflow.h"
 #include "transportlayerprsock.h"
 
 namespace mozilla {
 
-MOZ_MTLOG_MODULE("mtransport");
+MOZ_MTLOG_MODULE("mtransport")
 
 nsresult TransportLayerPrsock::InitInternal() {
   // Get the transport service as a transport service
   nsresult rv;
   stservice_ = do_GetService(NS_SOCKETTRANSPORTSERVICE_CONTRACTID, &rv);
 
   if (!NS_SUCCEEDED(rv)) {
     MOZ_MTLOG(PR_LOG_ERROR, "Couldn't get socket transport service");