Bug 1370357 - fix uninitialized variable in nsImapMailFolder.cpp and nsAbCardProperty.cpp. r=jorgk
This commit is contained in:
Родитель
7d0ee5103e
Коммит
08ed3828f4
|
@ -37,7 +37,8 @@ const char sAddrbookProperties[] = "chrome://messenger/locale/addressbook/addres
|
|||
enum EAppendType {
|
||||
eAppendLine,
|
||||
eAppendLabel,
|
||||
eAppendCityStateZip
|
||||
eAppendCityStateZip,
|
||||
eAppendUndefined
|
||||
};
|
||||
|
||||
struct AppendItem {
|
||||
|
@ -1033,6 +1034,7 @@ nsresult nsAbCardProperty::AppendCityStateZip(const AppendItem &aItem,
|
|||
|
||||
item.mColumn = statePropName;
|
||||
item.mLabel = "";
|
||||
item.mAppendType = eAppendUndefined;
|
||||
|
||||
rv = AppendLine(item, aConv, stateResult);
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
|
|
|
@ -5391,7 +5391,7 @@ nsImapMailFolder::OnStopRunningUrl(nsIURI *aUrl, nsresult aExitCode)
|
|||
|
||||
// For pluggable stores that do not support compaction, we need
|
||||
// to delete the messages now.
|
||||
bool supportsCompaction;
|
||||
bool supportsCompaction = false;
|
||||
uint32_t numHdrs = 0;
|
||||
nsCOMPtr<nsIMsgPluggableStore> offlineStore;
|
||||
(void) GetMsgStore(getter_AddRefs(offlineStore));
|
||||
|
|
Загрузка…
Ссылка в новой задаче