mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-15 04:13:14 +01:00
[svn r331] Fixed, forgot to default initialize the SynchronizedStatement enclosinghandler.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user