diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2012-01-12 17:57:37 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2012-01-13 16:58:16 +0100 |
commit | 59435d2d3af8a9f64ee40eac4f0479470ba6badf (patch) | |
tree | 6397bd6ae7d172b45851441b89be75aa16d1eb3b /saa | |
parent | 0628ad20f31a239f99fcbbfe42197c56a5ae8864 (diff) |
vmwgfx,saa: Fix a bunch of compilation warnings
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'saa')
-rw-r--r-- | saa/saa_unaccel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/saa/saa_unaccel.c b/saa/saa_unaccel.c index deaf5aa..0a6751e 100644 --- a/saa/saa_unaccel.c +++ b/saa/saa_unaccel.c @@ -629,7 +629,6 @@ saa_compute_composite_regions(ScreenPtr pScreen, RegionPtr *mask_reg) { struct saa_screen_priv *sscreen = saa_screen(pScreen); - PixmapPtr dst_pixmap; RegionPtr srcReg = NULL; RegionPtr maskReg = NULL; Bool ret; @@ -689,7 +688,7 @@ saa_compute_composite_regions(ScreenPtr pScreen, /* * Translate dst region to pixmap space. */ - dst_pixmap = saa_get_pixmap(pDst->pDrawable, &xoff, &yoff); + (void) saa_get_pixmap(pDst->pDrawable, &xoff, &yoff); REGION_TRANSLATE(pScreen, dst_reg, pDst->pDrawable->x + xoff, pDst->pDrawable->y + yoff); |