зеркало из https://github.com/mozilla/gecko-dev.git
fix warning.
This commit is contained in:
Родитель
5eb41ebeaf
Коммит
1c84b93a3a
|
@ -300,8 +300,8 @@ nsXULElement::nsXULElement()
|
|||
mParent(nsnull),
|
||||
mChildren(nsnull),
|
||||
mScriptObject(nsnull),
|
||||
mIsAnonymous(PR_FALSE),
|
||||
mLazyState(0),
|
||||
mIsAnonymous(PR_FALSE),
|
||||
mSlots(nsnull)
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
|
|
|
@ -75,7 +75,7 @@ PRBool nsMimeHtmlDisplayEmitter::BroadCastHeadersAndAttachments()
|
|||
// try to get a header sink if there is one....
|
||||
nsCOMPtr<nsIMsgHeaderSink> headerSink;
|
||||
nsresult rv = GetHeaderSink(getter_AddRefs(headerSink));
|
||||
if (headerSink && mDocHeader)
|
||||
if (NS_SUCCEEDED(rv) && headerSink && mDocHeader)
|
||||
return PR_TRUE;
|
||||
else
|
||||
return PR_FALSE;
|
||||
|
|
|
@ -300,8 +300,8 @@ nsXULElement::nsXULElement()
|
|||
mParent(nsnull),
|
||||
mChildren(nsnull),
|
||||
mScriptObject(nsnull),
|
||||
mIsAnonymous(PR_FALSE),
|
||||
mLazyState(0),
|
||||
mIsAnonymous(PR_FALSE),
|
||||
mSlots(nsnull)
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
|
|
Загрузка…
Ссылка в новой задаче