Bug 1592270 - Remove useless continue; declaration r=sylvestre
authorjeffinsam <jeffinsam@karunya.edu.in>
Mon, 18 Nov 2019 10:16:35 +0000
changeset 502393 c10fb6eef9083f88cfc423b51c640a2f6af55618
parent 502392 06d19681d0426ac65f242b606d2950dd96690101
child 502394 5dce3091af6eb86c81cc19087fb58f18f1c903f3
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssylvestre
bugs1592270
milestone72.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 1592270 - Remove useless continue; declaration r=sylvestre Differential Revision: https://phabricator.services.mozilla.com/D52485
dom/media/MediaCache.cpp
--- a/dom/media/MediaCache.cpp
+++ b/dom/media/MediaCache.cpp
@@ -2554,17 +2554,16 @@ nsresult MediaCacheStream::Read(AutoLock
       // Update mStreamOffset before we drop the lock. We need to run
       // Update() again since stream reading strategy might have changed.
       mStreamOffset = streamOffset;
       mMediaCache->QueueUpdate(aLock);
     }
 
     // No data to read, so block
     aLock.Wait();
-    continue;
   }
 
   uint32_t count = buffer.Elements() - aBuffer;
   *aBytes = count;
   if (count == 0) {
     return NS_OK;
   }