Bug 1597214 - Remove useless return; declaration, r=sylvestre
authorJaStenson <jacob@nosnets.co.uk>
Mon, 18 Nov 2019 12:03:01 +0000
changeset 502400 ff1c407a4421c71c1c60b2456d323dbd59747e67
parent 502399 68c4c2622a23a76ad4ee3fe130b82c0d9d39ab19
child 502401 7d5484728cf0e34482efccdcadb16482ee05f8f0
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
bugs1597214
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 1597214 - Remove useless return; declaration, r=sylvestre Differential Revision: https://phabricator.services.mozilla.com/D53401
toolkit/components/url-classifier/HashStore.cpp
--- a/toolkit/components/url-classifier/HashStore.cpp
+++ b/toolkit/components/url-classifier/HashStore.cpp
@@ -1104,18 +1104,16 @@ static void EnsureSorted(FallibleTArray<
 
   while (iter != end) {
     previous = iter;
     ++iter;
     if (iter != end) {
       MOZ_ASSERT(iter->Compare(*previous) >= 0);
     }
   }
-
-  return;
 }
 #endif
 
 nsresult HashStore::ProcessSubs() {
 #ifdef DEBUG
   EnsureSorted(&mAddPrefixes);
   EnsureSorted(&mSubPrefixes);
   EnsureSorted(&mAddCompletes);