From ad657885922cb7d540b8eec22993b0502bcc8978 Mon Sep 17 00:00:00 2001 From: Tomas Lindquist Olsen Date: Sat, 28 Jun 2008 11:50:28 +0200 Subject: [PATCH] [svn r331] Fixed, forgot to default initialize the SynchronizedStatement enclosinghandler. --- dmd/statement.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dmd/statement.c b/dmd/statement.c index 9d4839dc..a3aefae0 100644 --- a/dmd/statement.c +++ b/dmd/statement.c @@ -2866,6 +2866,7 @@ SynchronizedStatement::SynchronizedStatement(Loc loc, Expression *exp, Statement this->exp = exp; this->body = body; this->esync = NULL; + this->enclosinghandler = NULL; // LLVMDC this->llsync = NULL; } @@ -2876,6 +2877,7 @@ SynchronizedStatement::SynchronizedStatement(Loc loc, elem *esync, Statement *bo this->exp = NULL; this->body = body; this->esync = esync; + this->enclosinghandler = NULL; // LLVMDC this->llsync = NULL; }