From: Douglas Gregor Date: Mon, 1 Nov 2010 21:56:54 +0000 (+0000) Subject: Eliminate an unused local variable X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21e75d00b0e016fa89d54cf5b4e7d48bf5ff6e57;p=clang Eliminate an unused local variable git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117963 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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,