mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-19 11:50:18 +02:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user