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

Unified Diff: compiled/subscription/Subscription.cpp

Issue 29600638: Noissue - initialise Subscription::mListed in constructor. (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created Nov. 7, 2017, 10:26 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/subscription/Subscription.cpp
===================================================================
--- a/compiled/subscription/Subscription.cpp
+++ b/compiled/subscription/Subscription.cpp
@@ -24,17 +24,17 @@
#include "../StringMap.h"
namespace
{
StringMap<Subscription*> knownSubscriptions(16);
}
Subscription::Subscription(Type type, const String& id)
- : mID(id), mType(type), mDisabled(false)
+ : mID(id), mType(type), mDisabled(false), mListed(false)
{
annotate_address(this, "Subscription");
}
Subscription::~Subscription()
{
knownSubscriptions.erase(mID);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld