summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-11-01 21:56:54 +0000
committerDouglas Gregor <dgregor@apple.com>2010-11-01 21:56:54 +0000
commit1d745543e2cc1c9636dcc693f4c53120ec4249d9 (patch)
treed3a5be1f9509d7b1ccef51d87ee4fd14623fea65 /clang/lib/Sema/SemaDecl.cpp
parent79e007d574e690870da191714db79c6458767a49 (diff)
downloadbcm5719-llvm-1d745543e2cc1c9636dcc693f4c53120ec4249d9.tar.gz
bcm5719-llvm-1d745543e2cc1c9636dcc693f4c53120ec4249d9.zip
Eliminate an unused local variable
llvm-svn: 117963
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 0fb1aa0ddab..285173628c0 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/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,
OpenPOWER on IntegriCloud