Build bustage fix. Remove duplicate variable declarations and assignments. b=208093

This commit is contained in:
locka%iol.ie 2003-07-01 12:02:15 +00:00
parent dac62db26c
commit 01619ad519

View File

@ -1707,17 +1707,13 @@ NS_IMETHODIMP nsTreeBodyFrame::RowCountChanged(PRInt32 aIndex, PRInt32 aCount)
if (mUpdateBatchNest)
return NS_OK;
PRInt32 count = PR_ABS(aCount);
mRowCount += aCount;
#ifdef DEBUG
PRInt32 rowCount = mRowCount;
mView->GetRowCount(&rowCount);
NS_ASSERTION(rowCount == mRowCount, "row count did not change by the amount suggested, check caller");
#endif
PRInt32 count = PR_ABS(aCount);
PRInt32 rowCount;
mView->GetRowCount(&rowCount);
#ifdef DEBUG
NS_ASSERTION(rowCount == mRowCount, "row count did not change by the amount suggested, check caller");
#endif
PRInt32 last;
GetLastVisibleRow(&last);