initialize more variables that weren't getting values if there wasn't a pref for the value.

This commit is contained in:
mscott%netscape.com 1999-04-20 00:03:09 +00:00
Родитель f2fa4a0459
Коммит f95c28ad46
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -315,7 +315,7 @@ nsMsgAccountManager::LoadAccounts()
(nsISupports**)&m_prefs);
if (NS_FAILED(rv)) return rv;
char *accountList;
char *accountList = nsnull;
rv = m_prefs->CopyCharPref("mail.accountmanager.accounts", &accountList);
if (NS_FAILED(rv) || !accountList || !accountList[0]) {
@ -324,7 +324,7 @@ nsMsgAccountManager::LoadAccounts()
upgradePrefs();
}
char *accountKey;
char *accountKey = nsnull;
/* XXX todo: parse accountList and run loadAccount on each string,
* probably comma-separated */