mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00
fix uninitialized variable. #59673. sr=alecf
This commit is contained in:
parent
c366c33d26
commit
c93edc215f
mailnews
@ -1528,7 +1528,7 @@ nsresult
|
||||
nsMsgMessageDataSource::createPriorityString(nsMsgPriorityValue priority, nsAutoString &priorityStr)
|
||||
{
|
||||
nsresult rv = NS_OK;
|
||||
PRUnichar *prustr;
|
||||
PRUnichar *prustr = nsnull;
|
||||
priorityStr.Assign(NS_LITERAL_STRING(" "));
|
||||
switch (priority)
|
||||
{
|
||||
|
@ -2886,7 +2886,7 @@ nsImapService::GetDefaultLocalPath(nsIFileSpec ** aResult)
|
||||
NS_WITH_SERVICE(nsIPref, prefs, kPrefCID, &rv);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
PRBool havePref;
|
||||
PRBool havePref = PR_FALSE;
|
||||
nsCOMPtr<nsILocalFile> prefLocal;
|
||||
nsCOMPtr<nsIFile> localFile;
|
||||
rv = prefs->GetFileXPref(PREF_MAIL_ROOT_IMAP, getter_AddRefs(prefLocal));
|
||||
|
Loading…
x
Reference in New Issue
Block a user