mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 00:20:40 +03:00
Forgot return in DtoInitializer
This commit is contained in:
parent
f7cd3cf969
commit
4ee26b350a
1 changed files with 2 additions and 0 deletions
|
@ -1448,6 +1448,8 @@ DValue* DtoInitializer(LLValue* target, Initializer* init)
|
||||||
padding = DtoGEPi1(castv, 11);
|
padding = DtoGEPi1(castv, 11);
|
||||||
DtoStore(llvm::Constant::getNullValue(LLType::Int16Ty), padding);
|
DtoStore(llvm::Constant::getNullValue(LLType::Int16Ty), padding);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return res;
|
||||||
}
|
}
|
||||||
else if (init->isVoidInitializer())
|
else if (init->isVoidInitializer())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue