oc: several uninitialized variables

This commit is contained in:
Jesús García Sáez
2015-01-19 15:35:44 +01:00
parent b5369530f0
commit f9550b9181
6 changed files with 14 additions and 1 deletions
+3
View File
@@ -164,6 +164,7 @@ static Class SOGoMailFolderK, MAPIStoreMailFolderK, MAPIStoreOutboxFolderK;
int i;
nameInContainer = nil;
rc = MAPISTORE_ERROR;
folderName = nil;
for (i = 0; !folderName && i < aRow->cValues; i++)
@@ -1003,6 +1004,8 @@ _parseIMAPRange (const unichar *uniString, NSArray **UIDsP)
uint32_t currentUid, rangeMin;
BOOL done = NO, inRange = NO;
rangeMin = 0;
currentUid = 0;
UIDs = [NSMutableArray array];
while (!done)
{