removed two warnings from GFX library that sparky isn't likely to fix

This commit is contained in:
rickg%netscape.com 1999-07-26 02:22:09 +00:00
parent 6476768c6c
commit e8ced6357f
2 changed files with 2 additions and 2 deletions

View File

@ -902,7 +902,7 @@ NS_IMETHODIMP nsScrollingView::ComputeScrollOffsets(PRBool aAdjustWidgets)
nscoord hwidth, hheight;
nscoord vwidth, vheight;
PRUint32 oldsizey = mSizeY, oldsizex = mSizeX;
nsRect area(0, 0, 0, 0);
// nsRect area(0, 0, 0, 0);
nscoord offx, offy;
float scale;
nsRect controlRect(0, 0, mBounds.width, mBounds.height);

View File

@ -471,7 +471,7 @@ NS_IMETHODIMP nsView :: Paint(nsIRenderingContext& rc, const nsRect& rect,
nsIView *curview, *preview = this;
nsVoidArray *views = (nsVoidArray *)new nsVoidArray();
nsVoidArray *rects = (nsVoidArray *)new nsVoidArray();
nscoord posx, posy;
// nscoord posx, posy;
nsRect damRect = rect;
localcx->PushState();