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