LDMD: Avoid unitialized data.

Found using Valgrind.
This commit is contained in:
David Nadlinger
2013-10-09 19:50:28 +02:00
parent e440bb04ed
commit a2a3e400c9
2 changed files with 3 additions and 0 deletions

View File

@@ -1022,6 +1022,7 @@ void DtoVarDeclaration(VarDeclaration* vd)
assert(!vd->aliassym && "Aliases are handled in DtoDeclarationExp.");
Logger::println("vdtype = %s", vd->type->toChars());
LOG_SCOPE
if (vd->nestedrefs.dim)
{