fixed tinderbox warnings

git-svn-id: svn://10.0.0.236/trunk@56650 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
karnaze%netscape.com
2000-01-03 00:56:12 +00:00
parent 403a6f48cc
commit 0fb9049272
10 changed files with 18 additions and 46 deletions

View File

@@ -433,7 +433,7 @@ nscoord GetConstrainedWidth(nsTableColFrame* colFrame,
{
nscoord conWidth = WIDTH_NOT_SET;
if (aConsiderPct) {
nscoord conWidth = colFrame->GetPctWidth();
conWidth = colFrame->GetPctWidth();
}
if (conWidth <= 0 ) {
conWidth = colFrame->GetFixWidth();
@@ -1268,8 +1268,6 @@ PRBool BasicTableLayoutStrategy::RecomputeAdjMinIfNecessary()
return PR_FALSE;
}
nscoord spacingX = mTableFrame->GetCellSpacingX();
for (colX = numCols - 1; colX >= 0; colX--) {
for (rowX = 0; rowX < numRows; rowX++) {
PRBool originates;