Fix for bustage on older gcc. b=117316

This commit is contained in:
dbaron%dbaron.org 2003-03-06 20:16:35 +00:00
parent 4212ce0c53
commit 2c149384ef
2 changed files with 2 additions and 2 deletions

View File

@ -4713,7 +4713,7 @@ SweepRuleNodeChildren(PLDHashTable *table, PLDHashEntryHdr *hdr,
{
ChildrenHashEntry *entry = NS_STATIC_CAST(ChildrenHashEntry*, hdr);
if (entry->mRuleNode->Sweep())
return PL_DHASH_REMOVE | PL_DHASH_NEXT;
return PL_DHASH_REMOVE; // implies NEXT, unless |ed with STOP
return PL_DHASH_NEXT;
}

View File

@ -4713,7 +4713,7 @@ SweepRuleNodeChildren(PLDHashTable *table, PLDHashEntryHdr *hdr,
{
ChildrenHashEntry *entry = NS_STATIC_CAST(ChildrenHashEntry*, hdr);
if (entry->mRuleNode->Sweep())
return PL_DHASH_REMOVE | PL_DHASH_NEXT;
return PL_DHASH_REMOVE; // implies NEXT, unless |ed with STOP
return PL_DHASH_NEXT;
}