aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-12-15 12:12:42 +0100
committerPer Larsson <[email protected]>2021-12-15 12:12:42 +0100
commit0a96b398144bacbe5ee8ae76321727dc54f0849b (patch)
tree038ae00b9a9fae9c5dc71cec32e81906a6f624cc
parentAdded runtest xmake task. (diff)
downloadzen-0a96b398144bacbe5ee8ae76321727dc54f0849b.tar.xz
zen-0a96b398144bacbe5ee8ae76321727dc54f0849b.zip
Initialize CidStore to null.
-rw-r--r--zenstore/include/zenstore/gc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore/include/zenstore/gc.h b/zenstore/include/zenstore/gc.h
index 500613a81..1540b66c2 100644
--- a/zenstore/include/zenstore/gc.h
+++ b/zenstore/include/zenstore/gc.h
@@ -152,7 +152,7 @@ private:
mutable RwLock m_Lock;
std::vector<GcContributor*> m_GcContribs;
std::vector<GcStorage*> m_GcStorage;
- CidStore* m_CidStore;
+ CidStore* m_CidStore = nullptr;
};
enum class GcSchedulerStatus : uint32_t