From c7efb528aea160aed4dbd32e2424ad5959f94550 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 16 May 2018 01:27:13 +0200 Subject: Remove left-over code from previous commit --- Source/SPTableContent.h | 3 --- Source/SPTableContent.m | 5 ----- 2 files changed, 8 deletions(-) diff --git a/Source/SPTableContent.h b/Source/SPTableContent.h index a13da19d..039fd099 100644 --- a/Source/SPTableContent.h +++ b/Source/SPTableContent.h @@ -102,9 +102,6 @@ typedef NS_ENUM(NSInteger, SPTableContentFilterSource) { BOOL _mainNibLoaded; BOOL isWorking; pthread_mutex_t tableValuesLock; -#ifndef SP_CODA - NSMutableArray *nibObjectsToRelease; -#endif NSString *selectedTable; NSString *usedQuery; diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m index c4231655..9ac8fd61 100644 --- a/Source/SPTableContent.m +++ b/Source/SPTableContent.m @@ -142,9 +142,6 @@ static void *TableContentKVOContext = &TableContentKVOContext; isWorking = NO; pthread_mutex_init(&tableValuesLock, NULL); -#ifndef SP_CODA - nibObjectsToRelease = [[NSMutableArray alloc] init]; -#endif tableValues = [[SPDataStorage alloc] init]; dataColumns = [[NSMutableArray alloc] init]; @@ -4649,8 +4646,6 @@ static void *TableContentKVOContext = &TableContentKVOContext; SPClear(dataColumns); SPClear(oldRow); #ifndef SP_CODA - for (id retainedObject in nibObjectsToRelease) [retainedObject release]; - SPClear(nibObjectsToRelease); SPClear(paginationPopover); SPClear(paginationViewController); -- cgit v1.2.3