Bug 1334796 : Removes redundant return statement in void function draft
authorBarun Parruck <barun.parruck@gmail.com>
Sun, 29 Jan 2017 06:25:51 +0530
changeset 467755 b154d0a9e6c6
parent 467754 ae8cffb58dd9
child 543759 8dc78e3b1566
push id43255
push userbmo:barun.parruck@gmail.com
push dateSun, 29 Jan 2017 00:57:10 +0000
bugs1334796
milestone54.0a1
Bug 1334796 : Removes redundant return statement in void function 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();