Fixed some compiler warnings

git-svn-id: svn://10.0.0.236/trunk@38172 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1999-07-02 22:39:32 +00:00
parent e5a5666733
commit 5c3178c877
2 changed files with 4 additions and 8 deletions

View File

@@ -1765,9 +1765,8 @@ nsCSSRendering::PaintBackground(nsIPresContext& aPresContext,
nscoord aDX,
nscoord aDY)
{
nsMargin border;
PRInt16 theRadius;
nsStyleCoord borderRadius;
PRInt16 theRadius;
nsStyleCoord borderRadius;
if (0 < aColor.mBackgroundImage.Length()) {
@@ -1873,7 +1872,6 @@ nsStyleCoord borderRadius;
scrollFrame = GetNearestScrollFrame(aForFrame);
// Get the viewport size
nsSize clipSize;
clipView = GetClipView(scrollFrame);
clipView->GetDimensions(&viewportArea.width, &viewportArea.height);
}

View File

@@ -1765,9 +1765,8 @@ nsCSSRendering::PaintBackground(nsIPresContext& aPresContext,
nscoord aDX,
nscoord aDY)
{
nsMargin border;
PRInt16 theRadius;
nsStyleCoord borderRadius;
PRInt16 theRadius;
nsStyleCoord borderRadius;
if (0 < aColor.mBackgroundImage.Length()) {
@@ -1873,7 +1872,6 @@ nsStyleCoord borderRadius;
scrollFrame = GetNearestScrollFrame(aForFrame);
// Get the viewport size
nsSize clipSize;
clipView = GetClipView(scrollFrame);
clipView->GetDimensions(&viewportArea.width, &viewportArea.height);
}