From 21e75d00b0e016fa89d54cf5b4e7d48bf5ff6e57 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 1 Nov 2010 21:56:54 +0000 Subject: [PATCH] Eliminate an unused local variable git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117963 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaDecl.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 0fb1aa0dda..285173628c 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -4924,8 +4924,6 @@ Decl *Sema::ActOnStartOfFunctionDef(Scope *FnBodyScope, assert(getCurFunctionDecl() == 0 && "Function parsing confused"); assert(D.getTypeObject(0).Kind == DeclaratorChunk::Function && "Not a function declarator!"); - DeclaratorChunk::FunctionTypeInfo &FTI = D.getTypeObject(0).Fun; - Scope *ParentScope = FnBodyScope->getParent(); Decl *DP = HandleDeclarator(ParentScope, D, -- 2.40.0