aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vmime/body.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmime/body.hpp b/src/vmime/body.hpp
index fad59bcd..508c47a8 100644
--- a/src/vmime/body.hpp
+++ b/src/vmime/body.hpp
@@ -311,7 +311,7 @@ private:
shared_ptr <const contentHandler> m_contents;
- bodyPart* m_part;
+ bodyPart* m_part = nullptr;
std::vector <shared_ptr <bodyPart> > m_parts;