bug 451213 - Fix one bug and many warnings in the SeaMonkey migrator. r=gavin

This commit is contained in:
Blake Kaplan 2008-08-19 12:15:29 -07:00
parent 6c3e237ac0
commit 9752c3b806

View File

@ -341,10 +341,10 @@ nsSeamonkeyProfileMigrator::FillProfileDataFromSeamonkeyRegistry()
#define F(a) nsSeamonkeyProfileMigrator::a
#define MAKEPREFTRANSFORM(pref, newpref, getmethod, setmethod) \
{ pref, newpref, F(Get##getmethod), F(Set##setmethod), PR_FALSE, -1 }
{ pref, newpref, F(Get##getmethod), F(Set##setmethod), PR_FALSE, { -1 } }
#define MAKESAMETYPEPREFTRANSFORM(pref, method) \
{ pref, 0, F(Get##method), F(Set##method), PR_FALSE, -1 }
{ pref, 0, F(Get##method), F(Set##method), PR_FALSE, { -1 } }
static
@ -707,7 +707,6 @@ nsSeamonkeyProfileMigrator::CopyPasswords(PRBool aReplace)
importer->InitWithFile(signonsFile, nsnull);
nsresult rv;
PRUint32 count;
nsILoginInfo **logins;