aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMNSObject+KeyValueObserving.m
diff options
context:
space:
mode:
Diffstat (limited to 'Foundation/GTMNSObject+KeyValueObserving.m')
-rw-r--r--Foundation/GTMNSObject+KeyValueObserving.m2
1 files changed, 0 insertions, 2 deletions
diff --git a/Foundation/GTMNSObject+KeyValueObserving.m b/Foundation/GTMNSObject+KeyValueObserving.m
index 9247082..9b9acce 100644
--- a/Foundation/GTMNSObject+KeyValueObserving.m
+++ b/Foundation/GTMNSObject+KeyValueObserving.m
@@ -240,14 +240,12 @@ static char* GTMKeyValueObservingHelperContext
forKeyPath:keyPath
selector:selector];
@synchronized(self) {
-#if DEBUG
GTMKeyValueObservingHelper *oldHelper = [observerHelpers_ objectForKey:key];
if (oldHelper) {
_GTMDevLog(@"%@ already observing %@ forKeyPath %@",
observer, target, keyPath);
[oldHelper deregister];
}
-#endif // DEBUG
[observerHelpers_ setObject:helper forKey:key];
}
[helper release];