From 67880f01e9aa665158b2e13eb05fdf2f02236a98 Mon Sep 17 00:00:00 2001 From: Alexey Prokhin Date: Sun, 2 Jan 2011 17:38:39 +0300 Subject: [PATCH] Initialize TemplateInstance::emittedInModule with NULL --- dmd2/template.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dmd2/template.c b/dmd2/template.c index 2954b242..c1f999e4 100644 --- a/dmd2/template.c +++ b/dmd2/template.c @@ -3660,6 +3660,7 @@ TemplateInstance::TemplateInstance(Loc loc, TemplateDeclaration *td, Objects *ti #if IN_LLVM // LDC this->tinst = NULL; + this->emittedInModule = NULL; this->tmodule = NULL; #endif