mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 04:41:54 +00:00
reduce Macintosh compiler warnings
This commit is contained in:
parent
b3ff8e7d90
commit
7a0d262bc9
@ -307,7 +307,7 @@ nsLeafIterator::Prev()
|
||||
nsIFrame * grandFchild;
|
||||
if (NS_SUCCEEDED(grandParent->FirstChild(nsnull,&grandFchild)) && grandFchild){
|
||||
nsFrameList list(grandFchild);
|
||||
if (result = list.GetPrevSiblingFor(parent) ){
|
||||
if (nsnull != (result = list.GetPrevSiblingFor(parent)) ){
|
||||
parent = result;
|
||||
while(NS_SUCCEEDED(parent->FirstChild(nsnull,&result)) && result){
|
||||
parent = result;
|
||||
|
@ -307,7 +307,7 @@ nsLeafIterator::Prev()
|
||||
nsIFrame * grandFchild;
|
||||
if (NS_SUCCEEDED(grandParent->FirstChild(nsnull,&grandFchild)) && grandFchild){
|
||||
nsFrameList list(grandFchild);
|
||||
if (result = list.GetPrevSiblingFor(parent) ){
|
||||
if (nsnull != (result = list.GetPrevSiblingFor(parent)) ){
|
||||
parent = result;
|
||||
while(NS_SUCCEEDED(parent->FirstChild(nsnull,&result)) && result){
|
||||
parent = result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user