mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 07:00:03 +01:00
exa: initialise mask_off_x and mask_off_y
These get used at the end of the function in a calculation,
even though the result isn't used its not pretty.
Pointed out by coverity.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
(cherry picked from commit 4c7cefe240)
This commit is contained in:
parent
26a5364d50
commit
833e3e84a0
1 changed files with 1 additions and 1 deletions
|
|
@ -636,7 +636,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, src_off_y, 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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue