aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableData.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-03-15 16:40:48 +0000
committerstuconnolly <stuart02@gmail.com>2010-03-15 16:40:48 +0000
commit4645fcac921c8ec01b1a07e460fdb538ed4c671b (patch)
tree36ebd96cbae83e5e4a6a09d443b6b50e031b5a6f /Source/SPTableData.m
parent5a6d0f17bbf6b09463b908182dc2cbb112a0c6cb (diff)
downloadsequelpro-4645fcac921c8ec01b1a07e460fdb538ed4c671b.tar.gz
sequelpro-4645fcac921c8ec01b1a07e460fdb538ed4c671b.tar.bz2
sequelpro-4645fcac921c8ec01b1a07e460fdb538ed4c671b.zip
Fix some potential issues found during static analysis.
Diffstat (limited to 'Source/SPTableData.m')
-rw-r--r--Source/SPTableData.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTableData.m b/Source/SPTableData.m
index 459406fc..f7450e62 100644
--- a/Source/SPTableData.m
+++ b/Source/SPTableData.m
@@ -797,7 +797,7 @@
NSMutableString *escapedTableName = [NSMutableString stringWithString:[tableListInstance tableName]];
[escapedTableName replaceOccurrencesOfString:@"'" withString:@"\\\'" options:0 range:NSMakeRange(0, [escapedTableName length])];
- MCPResult *tableStatusResult;
+ MCPResult *tableStatusResult = nil;
if ([tableListInstance tableType] == SP_TABLETYPE_PROC) {
NSMutableString *escapedDatabaseName = [NSMutableString stringWithString:[tableDocumentInstance database]];