Bug 970271: Fix GCC warnings about ignored return value, r=jduell.mcbugs
authorThomas Zimmermann <tdz@users.sourceforge.net>
Thu, 27 Feb 2014 10:18:17 +0100
changeset 171370 f936af2c52ad1b86a8b286230c9fb19ad4ae5e82
parent 171369 26d23e6ded3ae273736cfc333040d719e3664738
child 171371 b5d404be0b1e31370d77c8d4aecdcf697814fed0
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersjduell
bugs970271
milestone30.0a1
Bug 970271: Fix GCC warnings about ignored return value, r=jduell.mcbugs
netwerk/protocol/rtsp/controller/RtspControllerParent.cpp
--- a/netwerk/protocol/rtsp/controller/RtspControllerParent.cpp
+++ b/netwerk/protocol/rtsp/controller/RtspControllerParent.cpp
@@ -4,30 +4,31 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "RtspControllerParent.h"
 #include "RtspController.h"
 #include "nsIAuthPromptProvider.h"
 #include "mozilla/ipc/InputStreamUtils.h"
 #include "mozilla/ipc/URIUtils.h"
+#include "mozilla/unused.h"
 #include "nsNetUtil.h"
 #include "prlog.h"
 
 #include <sys/types.h>
 #include <sys/socket.h>
 
 PRLogModuleInfo* gRtspLog;
 #undef LOG
 #define LOG(args) PR_LOG(gRtspLog, PR_LOG_DEBUG, args)
 
 #define SEND_DISCONNECT_IF_ERROR(rv)                         \
   if (NS_FAILED(rv) && mIPCOpen && mTotalTracks > 0ul) {     \
     for (uint32_t i = 0; i < mTotalTracks; i++) {            \
-      SendOnDisconnected(i, rv);                             \
+      unused << SendOnDisconnected(i, rv);                   \
     }                                                        \
   }
 
 using namespace mozilla::ipc;
 
 namespace mozilla {
 namespace net {