[PATCH] [exa] Initialize src and mask offsets in exaTryDriverComposite()

Tomas Carnecky tom at dbservice.com
Sun Dec 6 10:14:59 PST 2009


Signed-off-by: Tomas Carnecky <tom at dbservice.com>
---
 exa/exa_render.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exa/exa_render.c b/exa/exa_render.c
index 1b68e1c..ae0ed26 100644
--- a/exa/exa_render.c
+++ b/exa/exa_render.c
@@ -650,7 +650,7 @@ exaTryDriverComposite(CARD8		op,
     RegionRec region;
     BoxPtr pbox;
     int nbox;
-    int src_off_x, src_off_y, mask_off_x, mask_off_y, dst_off_x, dst_off_y;
+    int src_off_x = 0, src_off_y = 0, mask_off_x = 0, mask_off_y = 0, dst_off_x, dst_off_y;
     PixmapPtr pSrcPix = NULL, pMaskPix = NULL, pDstPix;
     ExaPixmapPrivPtr pSrcExaPix = NULL, pMaskExaPix = NULL, pDstExaPix;
 
-- 
1.6.5.4




More information about the xorg-devel mailing list