From d10b7ecd534d48951bc926d5bb1452b84d1aea4e Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Tue, 12 Oct 1999 23:21:40 +0000 Subject: [PATCH] Removed two warnings git-svn-id: svn://10.0.0.236/trunk@50502 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsCSSFrameConstructor.cpp | 2 -- mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index 1956415c720..f383750db64 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -2157,7 +2157,6 @@ nsCSSFrameConstructor::ConstructDocElementFrame(nsIPresContext* aPresCo // build a scrollframe if (!isPaginated && isScrollable) { - nsIStyleContext* childStyle = nsnull; nsIFrame* newScrollFrame = nsnull; nsIDocument* document; aDocElement->GetDocument(document); @@ -2729,7 +2728,6 @@ nsCSSFrameConstructor::ConstructRootFrame(nsIPresContext* aPresContext, getter_AddRefs(styleContext)); - nsIScrollableView* newScrollableView = nsnull; nsIFrame* newScrollableFrame = nsnull; nsIDocument* document; aDocElement->GetDocument(document); diff --git a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp index 1956415c720..f383750db64 100644 --- a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -2157,7 +2157,6 @@ nsCSSFrameConstructor::ConstructDocElementFrame(nsIPresContext* aPresCo // build a scrollframe if (!isPaginated && isScrollable) { - nsIStyleContext* childStyle = nsnull; nsIFrame* newScrollFrame = nsnull; nsIDocument* document; aDocElement->GetDocument(document); @@ -2729,7 +2728,6 @@ nsCSSFrameConstructor::ConstructRootFrame(nsIPresContext* aPresContext, getter_AddRefs(styleContext)); - nsIScrollableView* newScrollableView = nsnull; nsIFrame* newScrollableFrame = nsnull; nsIDocument* document; aDocElement->GetDocument(document);