summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclObjC.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-02-16 19:40:26 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-02-16 19:40:26 +0000
commit8827046dd3fd36b1997b8ac623235919fcfe536b (patch)
tree5da14e211975b722d9e9bde9ef8888dd9546fc81 /clang/lib/Sema/SemaDeclObjC.cpp
parent46d6b13448c6aafe950b7748717135f65ef0e81e (diff)
downloadbcm5719-llvm-8827046dd3fd36b1997b8ac623235919fcfe536b.tar.gz
bcm5719-llvm-8827046dd3fd36b1997b8ac623235919fcfe536b.zip
Remove an unused variable (which caused a warning).
llvm-svn: 64660
Diffstat (limited to 'clang/lib/Sema/SemaDeclObjC.cpp')
-rw-r--r--clang/lib/Sema/SemaDeclObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDeclObjC.cpp b/clang/lib/Sema/SemaDeclObjC.cpp
index 1c9594a9702..6e8154c3964 100644
--- a/clang/lib/Sema/SemaDeclObjC.cpp
+++ b/clang/lib/Sema/SemaDeclObjC.cpp
@@ -48,7 +48,7 @@ void Sema::ObjCActOnStartOfMethodDef(Scope *FnBodyScope, DeclTy *D) {
// Introduce all of the other parameters into this scope.
for (unsigned i = 0, e = MDecl->getNumParams(); i != e; ++i) {
ParmVarDecl *PDecl = MDecl->getParamDecl(i);
- if (IdentifierInfo *II = PDecl->getIdentifier())
+ if (PDecl->getIdentifier())
PushOnScopeChains(PDecl, FnBodyScope);
}
}
OpenPOWER on IntegriCloud