Fix uninitialized var in TemplateDeclaration.

This is a partial backport of https://github.com/D-Programming-Language/dmd/commit/214b0fdb26837a7ec0d79070c30d1a116cd571d1.
This commit is contained in:
kai
2013-05-10 13:10:40 +02:00
parent 2fb8d6d51b
commit fa3054c7cc
+1
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)