From c4e70ecbba9faec54197eb032a6193af57648900 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sat, 14 Jan 2006 22:13:25 +0000 Subject: [PATCH] Fixed 'uninitialised values' warnings in Valgrind. --- vmime/net/imap/IMAPParser.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vmime/net/imap/IMAPParser.hpp b/vmime/net/imap/IMAPParser.hpp index 3b7def05..d71ecae6 100644 --- a/vmime/net/imap/IMAPParser.hpp +++ b/vmime/net/imap/IMAPParser.hpp @@ -1278,7 +1278,7 @@ public: public: flag() - : m_flag_keyword(NULL) + : m_type(UNKNOWN), m_flag_keyword(NULL) { } @@ -1324,6 +1324,7 @@ public: } else { + m_type = KEYWORD_OR_EXTENSION; m_flag_keyword = parser.get (line, &pos); } @@ -1339,6 +1340,7 @@ public: DELETED, SEEN, DRAFT, + KEYWORD_OR_EXTENSION, STAR // * = custom flags allowed };