Bug 1253943 - fix some -Wextra compile warnings in /mailnews. r=jcranmer

This commit is contained in:
aceman 2016-03-08 11:55:53 +01:00
Родитель 211b4396ec
Коммит 627cbc0b16
2 изменённых файлов: 14 добавлений и 13 удалений

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

@ -73,18 +73,18 @@ const ExportAttributesTableStruct EXPORT_ATTRIBUTES_TABLE[] = {
{kPriEmailProperty, 2104},
{k2ndEmailProperty, 2105},
{kScreenNameProperty, 2136},
{kPreferMailFormatProperty},
{kLastModifiedDateProperty},
{kPreferMailFormatProperty, 0},
{kLastModifiedDateProperty, 0},
{kWorkPhoneProperty, 2106},
{kWorkPhoneTypeProperty},
{kWorkPhoneTypeProperty, 0},
{kHomePhoneProperty, 2107},
{kHomePhoneTypeProperty},
{kHomePhoneTypeProperty, 0},
{kFaxProperty, 2108},
{kFaxTypeProperty},
{kFaxTypeProperty, 0},
{kPagerProperty, 2109},
{kPagerTypeProperty},
{kPagerTypeProperty, 0},
{kCellularProperty, 2110},
{kCellularTypeProperty},
{kCellularTypeProperty, 0},
{kHomeAddressProperty, 2111},
{kHomeAddress2Property, 2112},
{kHomeCityProperty, 2113},
@ -110,11 +110,11 @@ const ExportAttributesTableStruct EXPORT_ATTRIBUTES_TABLE[] = {
{kCustom3Property, 2133},
{kCustom4Property, 2134},
{kNotesProperty, 2135},
{kAnniversaryYearProperty},
{kAnniversaryMonthProperty},
{kAnniversaryDayProperty},
{kSpouseNameProperty},
{kFamilyNameProperty},
{kAnniversaryYearProperty, 0},
{kAnniversaryMonthProperty, 0},
{kAnniversaryDayProperty, 0},
{kSpouseNameProperty, 0},
{kFamilyNameProperty, 0},
};
//

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

@ -137,7 +137,8 @@ static const PLDHashTableOps gTokenTableOps = {
PLDHashTable::HashStringKey,
PLDHashTable::MatchStringKey,
PLDHashTable::MoveEntryStub,
PLDHashTable::ClearEntryStub
PLDHashTable::ClearEntryStub,
nullptr
};
TokenHash::TokenHash(uint32_t aEntrySize)