From 4a86f50e8220fabfe0458903ca6608cb99396114 Mon Sep 17 00:00:00 2001 From: Tim King Date: Tue, 26 Sep 2017 09:36:52 -0700 Subject: [PATCH] Fixing CID 1172020: Initializing CDHashMap::iterator::d_it to nullptr. (#1139) --- src/context/cdhashmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context/cdhashmap.h b/src/context/cdhashmap.h index b6024b65d..5b7a4dab1 100644 --- a/src/context/cdhashmap.h +++ b/src/context/cdhashmap.h @@ -406,7 +406,7 @@ public: iterator(const iterator& i) : d_it(i.d_it) {} // Default constructor - iterator() {} + iterator() : d_it(nullptr) {} // (Dis)equality bool operator==(const iterator& i) const { -- 2.30.2