Fixed 'uninitialised values' warnings in Valgrind.

This commit is contained in:
Vincent Richard 2006-01-14 22:13:25 +00:00
parent 98204ed846
commit c4e70ecbba

View File

@ -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
};