Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginFilter.cpp

Issue 5338258498125824: Noissue - Removed unused filter-map variables (Closed)
Patch Set: Created Feb. 11, 2015, 5:39 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/plugin/PluginFilter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginFilter.cpp
===================================================================
--- a/src/plugin/PluginFilter.cpp
+++ b/src/plugin/PluginFilter.cpp
@@ -692,20 +692,9 @@
{
// Clear filter maps
CriticalSection::Lock filterEngineLock(s_criticalSectionFilterMap);
- {
- for (int i = 0; i < 2; i++)
- {
- for (int j = 0; j < 2; j++)
- {
- m_filterMap[i][j].clear();
- }
- m_filterMapDefault[i].clear();
- }
-
- m_elementHideTags.clear();
- m_elementHideTagsId.clear();
- m_elementHideTagsClass.clear();
- }
+ m_elementHideTags.clear();
+ m_elementHideTagsId.clear();
+ m_elementHideTagsClass.clear();
}
bool CPluginFilter::ShouldBlock(const std::wstring& src, AdblockPlus::FilterEngine::ContentType contentType, const std::wstring& domain, bool addDebug) const
« no previous file with comments | « src/plugin/PluginFilter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld