aboutsummaryrefslogtreecommitdiffstats
path: root/src/entropy
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-11-09 16:59:14 +0000
committerlloyd <[email protected]>2013-11-09 16:59:14 +0000
commitb1163d07165f7b3eb33391325d4e11b7b148b34b (patch)
treee2315ff1fc533735a20641804e2ae2a0b4f97254 /src/entropy
parent7aacde3df5e8755a01b6948d42322d182ddc36c1 (diff)
Uninitialized pointer
Diffstat (limited to 'src/entropy')
-rw-r--r--src/entropy/proc_walk/proc_walk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entropy/proc_walk/proc_walk.h b/src/entropy/proc_walk/proc_walk.h
index e493c7ed2..04c3b1bba 100644
--- a/src/entropy/proc_walk/proc_walk.h
+++ b/src/entropy/proc_walk/proc_walk.h
@@ -23,7 +23,8 @@ class ProcWalking_EntropySource : public EntropySource
void poll(Entropy_Accumulator& accum);
- ProcWalking_EntropySource(const std::string& root_dir) : m_path(root_dir) {}
+ ProcWalking_EntropySource(const std::string& root_dir) :
+ m_path(root_dir), m_dir(nullptr) {}
~ProcWalking_EntropySource();
private: