From a9853c7d337b3b1ad49793e9b4b90e313b6fa536 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 25 Nov 2008 00:53:55 -0500 Subject: [PATCH] Warning fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pixmap.c: In function ‘xnestPixmapToRegion’: Pixmap.c:93: warning: ‘Box.x1’ may be used uninitialized in this function --- hw/xnest/Pixmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xnest/Pixmap.c b/hw/xnest/Pixmap.c index 08305b10b..676a2ba95 100644 --- a/hw/xnest/Pixmap.c +++ b/hw/xnest/Pixmap.c @@ -90,7 +90,7 @@ xnestPixmapToRegion(PixmapPtr pPixmap) register RegionPtr pReg, pTmpReg; register int x, y; unsigned long previousPixel, currentPixel; - BoxRec Box; + BoxRec Box = { 0, 0, 0, 0 }; Bool overlap; ximage = XGetImage(xnestDisplay, xnestPixmap(pPixmap), 0, 0,