diff options
author | stuconnolly <stuart02@gmail.com> | 2010-03-15 16:40:48 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-03-15 16:40:48 +0000 |
commit | 4645fcac921c8ec01b1a07e460fdb538ed4c671b (patch) | |
tree | 36ebd96cbae83e5e4a6a09d443b6b50e031b5a6f /Source/SPTableData.m | |
parent | 5a6d0f17bbf6b09463b908182dc2cbb112a0c6cb (diff) | |
download | sequelpro-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.m | 2 |
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]]; |