Init local variable to avoid potential crasher.

pull/17/head
Ludovic Marcotte 2013-11-22 11:29:24 -05:00
parent 682ed767d9
commit 32ba01315f
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,8 @@
[MAPIApp setUserContext: userContext];
moduleName = [self MAPIModuleName];
parentFolder = [[userContext rootFolders] objectForKey: moduleName];
nameInContainer = nil;
if (![parentFolder newFolderWithName: folderName
nameInContainer: &nameInContainer])
mapistoreURI = [NSString stringWithFormat: @"sogo://%@@%@/%@/",