From 89e30449acac34fce93e04a4fa220be3577331d1 Mon Sep 17 00:00:00 2001 From: Chris Peterson Date: Tue, 15 Apr 2014 00:28:21 -0700 Subject: [PATCH] Bug 997026 - Part 2: Fix clang -Wunused-const-variable warning in startupcache. r=froydnj --- startupcache/StartupCache.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/startupcache/StartupCache.cpp b/startupcache/StartupCache.cpp index 923886c46097..0b25d4e12690 100644 --- a/startupcache/StartupCache.cpp +++ b/startupcache/StartupCache.cpp @@ -79,15 +79,13 @@ StartupCache::CollectReports(nsIHandleReportCallback* aHandleReport, "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() {