aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPUserManager.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-06-26 09:07:36 +0000
committerstuconnolly <stuart02@gmail.com>2012-06-26 09:07:36 +0000
commit8a011ccb6ea326255f4f85312e5ba4ff206c2e2e (patch)
tree0ce883a10089d2e89745ab193ba0451ee001f58f /Source/SPUserManager.m
parent0770ecf46cb1072e3327598fe8aa850cdd818302 (diff)
downloadsequelpro-8a011ccb6ea326255f4f85312e5ba4ff206c2e2e.tar.gz
sequelpro-8a011ccb6ea326255f4f85312e5ba4ff206c2e2e.tar.bz2
sequelpro-8a011ccb6ea326255f4f85312e5ba4ff206c2e2e.zip
Silence static analyzer warnings.
Diffstat (limited to 'Source/SPUserManager.m')
-rw-r--r--Source/SPUserManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m
index ad6ac390..eaece4b2 100644
--- a/Source/SPUserManager.m
+++ b/Source/SPUserManager.m
@@ -1332,7 +1332,7 @@ static const NSString *SPTableViewNameColumnID = @"NameColumn";
*/
- (void)_renameUserFrom:(NSString *)originalUser host:(NSString *)originalHost to:(NSString *)newUser host:(NSString *)newHost
{
- NSString *renameQuery;
+ NSString *renameQuery = nil;
if ([serverSupport supportsRenameUser]) {
renameQuery = [NSString stringWithFormat:@"RENAME USER %@@%@ TO %@@%@",