Warning fix
Pixmap.c: In function ‘xnestPixmapToRegion’: Pixmap.c:93: warning: ‘Box.x1’ may be used uninitialized in this function
This commit is contained in:
parent
81eafe9f93
commit
a9853c7d33
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user