diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-02-16 19:40:26 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-02-16 19:40:26 +0000 |
commit | 4247c078b92ef853ed7f462d97abcebc999d82c5 (patch) | |
tree | 0d3ed84ef89f1a2100f8e5e3c05322eaf70db965 /lib/Sema/SemaDeclObjC.cpp | |
parent | f15970cff7d53cd29f7f85aa6edeec2cac0d2d59 (diff) |
Remove an unused variable (which caused a warning).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index 1c9594a970..6e8154c396 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/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); } } |