Bug 1549383 - Fix build bustage in CameraParent.cpp. r=jib
authorPaul Adenot <paul@paul.cx>
Tue, 07 May 2019 14:22:17 +0000
changeset 534781 cd4a75c0bee4b6827bb41fcd7695a35297aa8da8
parent 534780 e29a84da259e206727144a0358002e14fdf5a554
child 534782 a9ccbfb3293c624c3b1a728e9149467791dd9673
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjib
bugs1549383
milestone68.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 1549383 - Fix build bustage in CameraParent.cpp. r=jib `rv` is not used anymore out of Nightly, because diagnostic asserts are disabled. Differential Revision: https://phabricator.services.mozilla.com/D30059
dom/media/systemservices/CamerasParent.cpp
--- a/dom/media/systemservices/CamerasParent.cpp
+++ b/dom/media/systemservices/CamerasParent.cpp
@@ -221,16 +221,17 @@ void CamerasParent::StopVideoCapture() {
           if (thread) {
             if (thread->IsRunning()) {
               thread->Stop();
             }
             delete thread;
           }
           nsresult rv = GetShutdownBarrier()->RemoveBlocker(self);
           MOZ_DIAGNOSTIC_ASSERT(NS_SUCCEEDED(rv));
+          Unused << rv;
           return NS_OK;
         }));
         if (NS_FAILED(rv)) {
           LOG(("Could not dispatch VideoCaptureThread destruction"));
         }
         return rv;
       }));
 #ifdef DEBUG