aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TablesList.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/TablesList.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/TablesList.m')
-rw-r--r--Source/TablesList.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TablesList.m b/Source/TablesList.m
index 9162c69b..fdd1b029 100644
--- a/Source/TablesList.m
+++ b/Source/TablesList.m
@@ -2025,7 +2025,7 @@
*/
- (void)copyTable
{
- NSString *tableType;
+ NSString *tableType = @"";
if ([[copyTableNameField stringValue] isEqualToString:@""]) {
SPBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, NSLocalizedString(@"Table must have a name.", @"message of panel when no name is given for table"));