aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <dmoagx@users.noreply.github.com>2018-05-16 01:27:13 +0200
committerMax <dmoagx@users.noreply.github.com>2018-05-16 01:27:13 +0200
commitc7efb528aea160aed4dbd32e2424ad5959f94550 (patch)
treed27d36a2d0db6170d594c4f84572f7103ba67e38
parent67531d3eef6cf819c54b3b55aa9e96261db4cbba (diff)
downloadsequelpro-c7efb528aea160aed4dbd32e2424ad5959f94550.tar.gz
sequelpro-c7efb528aea160aed4dbd32e2424ad5959f94550.tar.bz2
sequelpro-c7efb528aea160aed4dbd32e2424ad5959f94550.zip
Remove left-over code from previous commit
-rw-r--r--Source/SPTableContent.h3
-rw-r--r--Source/SPTableContent.m5
2 files changed, 0 insertions, 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);