uxa: Work around uninitialized-value warning.

The compiler isn't noticing that localDst only diverges from pDst when
the _copy variables have also been set.
This commit is contained in:
Eric Anholt 2012-11-17 13:11:12 -08:00 committed by Chris Wilson
parent 18b2e2a827
commit edefb64d2b
1 changed files with 1 additions and 1 deletions

View File

@ -962,7 +962,7 @@ uxa_try_driver_composite(CARD8 op,
RegionRec region;
BoxPtr pbox;
int nbox;
int xDst_copy, yDst_copy;
int xDst_copy = 0, yDst_copy = 0;
int src_off_x, src_off_y, mask_off_x, mask_off_y, dst_off_x, dst_off_y;
PixmapPtr pSrcPix, pMaskPix = NULL, pDstPix;
PicturePtr localSrc, localMask = NULL;