summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-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 b0ae1f28ea1..05371e71724 100644
--- a/clang/lib/Sema/SemaDeclObjC.cpp
+++ b/clang/lib/Sema/SemaDeclObjC.cpp
@@ -977,7 +977,7 @@ Sema::DeclTy *Sema::ActOnPropertyImplDecl(SourceLocation AtLoc,
return 0;
}
ObjCCategoryDecl *Categories;
- for (ObjCCategoryDecl *Categories = IDecl->getCategoryList();
+ for (Categories = IDecl->getCategoryList();
Categories; Categories = Categories->getNextClassCategory())
if (Categories->getIdentifier() == CatImplClass->getIdentifier())
break;
OpenPOWER on IntegriCloud