diff options
author | Vincent Richard <[email protected]> | 2006-01-14 22:13:25 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2006-01-14 22:13:25 +0000 |
commit | c4e70ecbba9faec54197eb032a6193af57648900 (patch) | |
tree | 27431127a92a9f12670b7db05dee0fedf4b3f31b | |
parent | Fixed bug when fetching structure. (diff) | |
download | vmime-c4e70ecbba9faec54197eb032a6193af57648900.tar.gz vmime-c4e70ecbba9faec54197eb032a6193af57648900.zip |
Fixed 'uninitialised values' warnings in Valgrind.
-rw-r--r-- | vmime/net/imap/IMAPParser.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 <atom>(line, &pos); } @@ -1339,6 +1340,7 @@ public: DELETED, SEEN, DRAFT, + KEYWORD_OR_EXTENSION, STAR // * = custom flags allowed }; |