From 9a8475e982f7c572d3d63f0b33c13689ac2e9c0d Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 25 Feb 2014 05:58:54 +0000 Subject: [PATCH] Remove dead assignment reported by Gautier DI FOLCO. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202115 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaObjCProperty.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Sema/SemaObjCProperty.cpp b/lib/Sema/SemaObjCProperty.cpp index 08013f7cc1..ce8f9d1515 100644 --- a/lib/Sema/SemaObjCProperty.cpp +++ b/lib/Sema/SemaObjCProperty.cpp @@ -1816,7 +1816,6 @@ Sema::AtomicPropertySetterGetterRules (ObjCImplDecl* IMPDecl, if (!LookedUpGetterSetter) { GetterMethod = IMPDecl->getInstanceMethod(Property->getGetterName()); SetterMethod = IMPDecl->getInstanceMethod(Property->getSetterName()); - LookedUpGetterSetter = true; } if ((GetterMethod && !SetterMethod) || (!GetterMethod && SetterMethod)) { SourceLocation MethodLoc = -- 2.40.0