diff options
author | Adam Jackson <ajax@redhat.com> | 2008-11-25 00:53:55 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-11-25 15:05:18 -0500 |
commit | a9853c7d337b3b1ad49793e9b4b90e313b6fa536 (patch) | |
tree | e2756c024fa2602581a87566e3e9a3e4f0c95abe /hw/xnest/Pixmap.c | |
parent | 81eafe9f93a272b06aa9f9235ec5676b9aa3ee3e (diff) |
Warning fix
Pixmap.c: In function ‘xnestPixmapToRegion’:
Pixmap.c:93: warning: ‘Box.x1’ may be used uninitialized in this
function
Diffstat (limited to 'hw/xnest/Pixmap.c')
-rw-r--r-- | hw/xnest/Pixmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |