Fix a clang warning

This commit is contained in:
Kai Nacke
2013-12-08 18:59:17 +01:00
parent 43acc1f9c8
commit aeba90b9f9

View File

@@ -223,7 +223,7 @@ LLValue* DtoNestedContext(Loc loc, Dsymbol* sym)
return llvm::ConstantPointerNull::get(getVoidPtrType());
}
struct FuncDeclaration* frameToPass = 0;
FuncDeclaration* frameToPass = 0;
if (AggregateDeclaration *ad = sym->isAggregateDeclaration()) {
// If sym is a nested struct or a nested class, pass the frame
// of the function where sym is declared.