Bug 204389 warning: unused variable `const class nsView * zParent' in nsView::GetClippedRect

r=roc+moz sr=roc+moz
This commit is contained in:
timeless%mozdev.org 2003-05-23 22:00:34 +00:00
Родитель 187f4d5075
Коммит 82da623af2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -988,12 +988,12 @@ NS_IMETHODIMP nsView::GetClippedRect(nsRect& aClippedRect, PRBool& aIsClipped, P
// don't consider non-floating ancestors of a floating view.
const nsView* view = this;
while (PR_TRUE) {
const nsView* zParent = view->GetZParent();
const nsView* parentView = view->GetParent();
#if 0
// For now, we're disabling this code. This means that we only honor clipping
// set by parent elements which are containing block ancestors of this content.
const nsView* zParent = view->GetZParent();
if (zParent) {
// This view was reparented. We need to continue collecting clip
// rects from the zParent.