From: Emil Velikov Date: Sat, 28 Sep 2013 14:17:29 +0000 (+0100) Subject: st/xorg: drop set but unsused variables dxo, dyo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba3efd6b42e1b875fd029c6dd8ec93512a3fff2e;p=mesa.git st/xorg: drop set but unsused variables dxo, dyo Commit a9f8baf00b264 removed the first and only use of the variables but forgot to remove them. Signed-off-by: Emil Velikov Reviewed-by: Brian Paul --- diff --git a/src/gallium/state_trackers/xorg/xorg_xv.c b/src/gallium/state_trackers/xorg/xorg_xv.c index 3097d000e19..f0de3d21129 100644 --- a/src/gallium/state_trackers/xorg/xorg_xv.c +++ b/src/gallium/state_trackers/xorg/xorg_xv.c @@ -490,7 +490,6 @@ display_video(ScrnInfoPtr pScrn, struct xorg_xv_port_priv *pPriv, int id, modesettingPtr ms = modesettingPTR(pScrn); BoxPtr pbox; int nbox; - int dxo, dyo; Bool hdtv; int x, y, w, h; struct exa_pixmap_priv *dst; @@ -518,9 +517,6 @@ display_video(ScrnInfoPtr pScrn, struct xorg_xv_port_priv *pPriv, int id, -pPixmap->screen_y); #endif - dxo = dstRegion->extents.x1; - dyo = dstRegion->extents.y1; - pbox = REGION_RECTS(dstRegion); nbox = REGION_NUM_RECTS(dstRegion);