From 4645fcac921c8ec01b1a07e460fdb538ed4c671b Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Mon, 15 Mar 2010 16:40:48 +0000 Subject: Fix some potential issues found during static analysis. --- Source/TableDocument.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/TableDocument.m') 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]; -- cgit v1.2.3