mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
fix warning.
This commit is contained in:
parent
5eb41ebeaf
commit
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();
|
||||
|
Loading…
Reference in New Issue
Block a user