From d5659ce557c780d1828e2147ac692b2d75f918a2 Mon Sep 17 00:00:00 2001 From: "roc+%cs.cmu.edu" Date: Thu, 26 Jun 2003 01:49:34 +0000 Subject: [PATCH] Trivial fix for uninitialized variable. r+sr=dbaron --- view/src/nsViewManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/src/nsViewManager.cpp b/view/src/nsViewManager.cpp index edeb6f71c2a..55d5ed3a71a 100644 --- a/view/src/nsViewManager.cpp +++ b/view/src/nsViewManager.cpp @@ -1164,7 +1164,7 @@ void nsViewManager::RenderViews(nsView *aRootView, nsIRenderingContext& aRC, PRBool anyRendered; OptimizeDisplayListClipping(&displayList, PR_FALSE, fakeClipRect, index, anyRendered); - PRInt32 translucentViewCount; + PRInt32 translucentViewCount = 0; nsRect translucentArea(0, 0, 0, 0); PRInt32 i; // count number of translucent views, and