reduce Macintosh compiler warnings

This commit is contained in:
brade%netscape.com 1999-03-03 15:35:49 +00:00
parent b3ff8e7d90
commit 7a0d262bc9
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;