Remove most compiler warnings on IRIX

git-svn-id: svn://10.0.0.236/trunk@6756 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1998-07-29 20:19:08 +00:00
parent 580743b370
commit 101913b9b5
33 changed files with 41 additions and 153 deletions

View File

@@ -505,7 +505,7 @@ nsTableRowFrame::InitialReflow(nsIPresContext& aPresContext,
nscoord maxTopMargin = 0;
nscoord maxBottomMargin = 0;
nscoord x = 0;
nsresult result;
nsresult result = NS_OK;
for (;;) {
// Get the next content object
@@ -638,7 +638,7 @@ nsresult nsTableRowFrame::RecoverState(nsIPresContext& aPresContext,
// Walk the list of children looking for aKidFrame. While we're at
// it get the maxCellHeight and maxVertCellSpace for all the
// frames except aKidFrame
nsIFrame* prevKidFrame = nsnull;
// nsIFrame* prevKidFrame = nsnull;
for (nsIFrame* frame = mFirstChild; nsnull != frame;) {
if (frame != aKidFrame) {
// Update the max top and bottom margins
@@ -699,7 +699,7 @@ nsresult nsTableRowFrame::RecoverState(nsIPresContext& aPresContext,
}
// Remember the frame that precedes aKidFrame
prevKidFrame = frame;
// prevKidFrame = frame;
frame->GetNextSibling(frame);
}