diff --git a/dmd2/template.c b/dmd2/template.c index 367db45d..418f617d 100644 --- a/dmd2/template.c +++ b/dmd2/template.c @@ -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)