From aeba90b9f935418fd1d5dba3312041346baab618 Mon Sep 17 00:00:00 2001 From: Kai Nacke Date: Sun, 8 Dec 2013 18:59:17 +0100 Subject: [PATCH] Fix a clang warning --- gen/nested.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/nested.cpp b/gen/nested.cpp index 41d5ad12..ee21459c 100644 --- a/gen/nested.cpp +++ b/gen/nested.cpp @@ -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.