Bug 997026 - Part 2: Fix clang -Wunused-const-variable warning in startupcache. r=froydnj
authorChris Peterson <cpeterson@mozilla.com>
Tue, 15 Apr 2014 00:28:21 -0700
changeset 179350 2bfdbce8d055ab966b86b4d6e4b99c0dfd568e44
parent 179349 1a3585a1b4a5b22cf55fcba2e81404200cca59eb
child 179351 09177e52a4c4c08e6488a7a440191fe265745009
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
reviewersfroydnj
bugs997026
milestone31.0a1
Bug 997026 - Part 2: Fix clang -Wunused-const-variable warning in startupcache. r=froydnj
startupcache/StartupCache.cpp
--- a/startupcache/StartupCache.cpp
+++ b/startupcache/StartupCache.cpp
@@ -74,25 +74,23 @@ StartupCache::CollectReports(nsIHandleRe
          "This memory is likely to be swapped out shortly after start-up.");
 
   REPORT("explicit/startup-cache/data", KIND_HEAP,
          HeapSizeOfIncludingThis(StartupCacheMallocSizeOf),
          "Memory used by the startup cache for things other than the file "
          "mapping.");
 
   return NS_OK;
-};
+}
 
 static const char sStartupCacheName[] = "startupCache." SC_WORDSIZE "." SC_ENDIAN;
 #if defined(XP_WIN) && defined(MOZ_METRO)
 static const char sMetroStartupCacheName[] = "metroStartupCache." SC_WORDSIZE "." SC_ENDIAN;
 #endif
 
-static NS_DEFINE_CID(kZipReaderCID, NS_ZIPREADER_CID);
-
 StartupCache*
 StartupCache::GetSingleton()
 {
   if (!gStartupCache) {
     if (XRE_GetProcessType() != GeckoProcessType_Default) {
       return nullptr;
     }