зеркало из https://github.com/mozilla/pjs.git
fix warning.
This commit is contained in:
Родитель
fa84f35c0c
Коммит
62adac0880
|
@ -314,8 +314,8 @@ NS_IMPL_ISUPPORTS2(nsMsgAccountManager, nsIMsgAccountManager, nsIObserver)
|
|||
nsMsgAccountManager::nsMsgAccountManager() :
|
||||
m_accountsLoaded(PR_FALSE),
|
||||
m_defaultAccount(null_nsCOMPtr()),
|
||||
m_prefs(0),
|
||||
m_haveShutdown(PR_FALSE)
|
||||
m_haveShutdown(PR_FALSE),
|
||||
m_prefs(0)
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ nsPrimitiveHelpers :: CreatePrimitiveForData ( const char* aFlavor, void* aDataB
|
|||
nsCOMPtr<nsISupportsWString> primitive;
|
||||
nsresult rv = nsComponentManager::CreateInstance(NS_SUPPORTS_WSTRING_PROGID, nsnull,
|
||||
NS_GET_IID(nsISupportsWString), getter_AddRefs(primitive));
|
||||
if ( primitive ) {
|
||||
if (NS_SUCCEEDED(rv) && primitive ) {
|
||||
primitive->SetData ( (unsigned short*)aDataBuff );
|
||||
nsCOMPtr<nsISupports> genericPrimitive ( do_QueryInterface(primitive) );
|
||||
*aPrimitive = genericPrimitive;
|
||||
|
|
Загрузка…
Ссылка в новой задаче