Skip to content

Commit

Permalink
Bug 1287024 - Remove unused mHashStores variable in Classifier.cpp. r…
Browse files Browse the repository at this point in the history
…=francois

MozReview-Commit-ID: 2EIDaRHKW8Q

--HG--
extra : rebase_source : e1a4a8c578ec8e5c2f5869cbd775bfbba0c977bf
  • Loading branch information
DimiDL committed Jul 15, 2016
1 parent 9653815 commit 0faebe8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions toolkit/components/url-classifier/Classifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,10 +372,6 @@ Classifier::SetLastUpdateTime(const nsACString &aTable,
void
Classifier::DropStores()
{
for (uint32_t i = 0; i < mHashStores.Length(); i++) {
delete mHashStores[i];
}
mHashStores.Clear();
for (uint32_t i = 0; i < mLookupCaches.Length(); i++) {
delete mLookupCaches[i];
}
Expand Down
1 change: 0 additions & 1 deletion toolkit/components/url-classifier/Classifier.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ class Classifier {
nsCOMPtr<nsIFile> mBackupDirectory;
nsCOMPtr<nsIFile> mToDeleteDirectory;
nsCOMPtr<nsICryptoHash> mCryptoHash;
nsTArray<HashStore*> mHashStores;
nsTArray<LookupCache*> mLookupCaches;
nsTArray<nsCString> mActiveTablesCache;
uint32_t mHashKey;
Expand Down

0 comments on commit 0faebe8

Please sign in to comment.