From 1ebce9c6ba155767d0451931819228b596870b5a Mon Sep 17 00:00:00 2001 From: "danm-moz%comcast.net" Date: Sun, 9 Nov 2003 16:33:14 +0000 Subject: [PATCH] tweak rev 1.137 to reduce the population of warnings from 2131 back to 2129 --- xpfe/appshell/src/nsXULWindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xpfe/appshell/src/nsXULWindow.cpp b/xpfe/appshell/src/nsXULWindow.cpp index 8d9e9cab8d5..3b5865439f8 100644 --- a/xpfe/appshell/src/nsXULWindow.cpp +++ b/xpfe/appshell/src/nsXULWindow.cpp @@ -1207,10 +1207,10 @@ void nsXULWindow::StaggerPosition(PRInt32 &aRequestedX, PRInt32 &aRequestedY, if (NS_FAILED(rv)) return; - PRInt32 screenTop, - screenRight, - screenBottom, - screenLeft; + PRInt32 screenTop = 0, // it's pointless to initialize these ... + screenRight = 0, // ... but to prevent oversalubrious and ... + screenBottom = 0, // ... underbright compilers from ... + screenLeft = 0; // ... issuing warnings. PRBool gotScreen = PR_FALSE; { // fetch screen coordinates