Bug 1334796 : Removes redundant return statement in void function r=froydnj
authorBarun Parruck <barun.parruck@gmail.com>
Sun, 29 Jan 2017 06:25:51 +0530
changeset 340834 05cc1b9c1cf1
parent 340833 d0ef386d1808
child 340835 d77cc2c1ef81
child 340850 b436cf72703f
push id36923
push usernfroyd@mozilla.com
push dateSun, 05 Feb 2017 16:54:32 +0000
treeherderautoland@05cc1b9c1cf1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1334796
milestone54.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 1334796 : Removes redundant return statement in void function r=froydnj MozReview-Commit-ID: 1EkMIiXMtjf
startupcache/StartupCache.cpp
--- a/startupcache/StartupCache.cpp
+++ b/startupcache/StartupCache.cpp
@@ -451,18 +451,16 @@ StartupCache::WriteToDisk()
   mArchive = nullptr;
   zipW->Close();
 
   // We succesfully wrote the archive to disk; mark the disk file as trusted
   gIgnoreDiskCache = false;
 
   // Our reader's view of the archive is outdated now, reload it.
   LoadArchive();
-  
-  return;
 }
 
 void
 StartupCache::InvalidateCache() 
 {
   WaitOnWriteThread();
   mPendingWrites.Clear();
   mTable.Clear();