Fix uninitialized var in TemplateDeclaration.

This is a partial backport of 214b0fdb26.
This commit is contained in:
kai
2013-05-10 13:10:40 +02:00
parent 2fb8d6d51b
commit fa3054c7cc

View File

@@ -421,6 +421,7 @@ TemplateDeclaration::TemplateDeclaration(Loc loc, Identifier *id,
this->literal = 0;
this->ismixin = ismixin;
this->previous = NULL;
this->protection = PROTundefined;
// Compute in advance for Ddoc's use
if (members)