mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
Remove unused variable (fix warning). b=171830
This commit is contained in:
parent
2c149384ef
commit
10878a0640
@ -487,7 +487,6 @@ nsRuleNode::Transition(nsIStyleRule* aRule, nsRuleNode** aResult)
|
||||
ConvertChildrenToHash();
|
||||
}
|
||||
|
||||
PRBool createdNode = PR_FALSE;
|
||||
if (ChildrenAreHashed()) {
|
||||
ChildrenHashEntry *entry = NS_STATIC_CAST(ChildrenHashEntry*,
|
||||
PL_DHashTableOperate(ChildrenHash(), aRule, PL_DHASH_ADD));
|
||||
@ -501,7 +500,6 @@ nsRuleNode::Transition(nsIStyleRule* aRule, nsRuleNode** aResult)
|
||||
*aResult = nsnull;
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
createdNode = PR_TRUE;
|
||||
}
|
||||
} else if (!next) {
|
||||
// Create the new entry in our list.
|
||||
@ -511,7 +509,6 @@ nsRuleNode::Transition(nsIStyleRule* aRule, nsRuleNode** aResult)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
SetChildrenList(new (mPresContext) nsRuleList(next, ChildrenList()));
|
||||
createdNode = PR_TRUE;
|
||||
}
|
||||
|
||||
*aResult = next;
|
||||
|
@ -487,7 +487,6 @@ nsRuleNode::Transition(nsIStyleRule* aRule, nsRuleNode** aResult)
|
||||
ConvertChildrenToHash();
|
||||
}
|
||||
|
||||
PRBool createdNode = PR_FALSE;
|
||||
if (ChildrenAreHashed()) {
|
||||
ChildrenHashEntry *entry = NS_STATIC_CAST(ChildrenHashEntry*,
|
||||
PL_DHashTableOperate(ChildrenHash(), aRule, PL_DHASH_ADD));
|
||||
@ -501,7 +500,6 @@ nsRuleNode::Transition(nsIStyleRule* aRule, nsRuleNode** aResult)
|
||||
*aResult = nsnull;
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
createdNode = PR_TRUE;
|
||||
}
|
||||
} else if (!next) {
|
||||
// Create the new entry in our list.
|
||||
@ -511,7 +509,6 @@ nsRuleNode::Transition(nsIStyleRule* aRule, nsRuleNode** aResult)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
SetChildrenList(new (mPresContext) nsRuleList(next, ChildrenList()));
|
||||
createdNode = PR_TRUE;
|
||||
}
|
||||
|
||||
*aResult = next;
|
||||
|
Loading…
Reference in New Issue
Block a user