From c50efe34c7d166f3ede136ecff0be2e31fe70fcd Mon Sep 17 00:00:00 2001 From: Tony Arnold Date: Tue, 28 Jun 2016 13:17:17 +1000 Subject: [PATCH] Initialise targetClass to NULL to silence a static analysis issue --- RxCocoa/Common/_RXDelegateProxy.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RxCocoa/Common/_RXDelegateProxy.m b/RxCocoa/Common/_RXDelegateProxy.m index 581fbabb..c82333a0 100644 --- a/RxCocoa/Common/_RXDelegateProxy.m +++ b/RxCocoa/Common/_RXDelegateProxy.m @@ -58,7 +58,7 @@ static NSMutableDictionary *forwardableSelectorsPerClass = nil; #define CLASS_HIERARCHY_MAX_DEPTH 100 NSInteger classHierarchyDepth = 0; - Class targetClass = self; + Class targetClass = NULL; for (classHierarchyDepth = 0, targetClass = self; classHierarchyDepth < CLASS_HIERARCHY_MAX_DEPTH && targetClass != nil;