]> granicus.if.org Git - clang/commitdiff
Eliminate an unused local variable
authorDouglas Gregor <dgregor@apple.com>
Mon, 1 Nov 2010 21:56:54 +0000 (21:56 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 1 Nov 2010 21:56:54 +0000 (21:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117963 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDecl.cpp

index 0fb1aa0ddab56be9230c54d1e6822190d989b0b6..285173628c0597deaac0b6275d5c3f46c9323c94 100644 (file)
@@ -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,