r202115 - Remove dead assignment reported by Gautier DI FOLCO.

Ted Kremenek kremenek at apple.com
Mon Feb 24 21:58:54 PST 2014


Author: kremenek
Date: Mon Feb 24 23:58:54 2014
New Revision: 202115

URL: http://llvm.org/viewvc/llvm-project?rev=202115&view=rev
Log:
Remove dead assignment reported by Gautier DI FOLCO.

Modified:
    cfe/trunk/lib/Sema/SemaObjCProperty.cpp

Modified: cfe/trunk/lib/Sema/SemaObjCProperty.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaObjCProperty.cpp?rev=202115&r1=202114&r2=202115&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaObjCProperty.cpp (original)
+++ cfe/trunk/lib/Sema/SemaObjCProperty.cpp Mon Feb 24 23:58:54 2014
@@ -1816,7 +1816,6 @@ Sema::AtomicPropertySetterGetterRules (O
       if (!LookedUpGetterSetter) {
         GetterMethod = IMPDecl->getInstanceMethod(Property->getGetterName());
         SetterMethod = IMPDecl->getInstanceMethod(Property->getSetterName());
-        LookedUpGetterSetter = true;
       }
       if ((GetterMethod && !SetterMethod) || (!GetterMethod && SetterMethod)) {
         SourceLocation MethodLoc =





More information about the cfe-commits mailing list