mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-29 21:46:40 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue