aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.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/TableDocument.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/TableDocument.m')
-rw-r--r--Source/TableDocument.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index 2d75a8d9..36ad7be8 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -1067,7 +1067,7 @@
*/
- (void)refreshCurrentDatabase
{
- NSString *dbName;
+ NSString *dbName = nil;
// Notify listeners that a query has started
[[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:self];