[PATCH xf86-video-mga 5/9] remove unused variables in CopyMungedScanlineFilterDown_AXP

Nicolas Kaiser nikai at nikai.net
Wed Jun 8 02:02:53 PDT 2011


Silence compile warnings
src/mga_video.c: In function 'CopyMungedScanlineFilterDown_AXP':
src/mga_video.c:1472: warning: unused variable 'vf'
src/mga_video.c:1472: warning: unused variable 'uf'

Signed-off-by: Nicolas Kaiser <nikai at nikai.net>
---
 src/mga_video.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mga_video.c b/src/mga_video.c
index 8f5fc0b..f31ed69 100644
--- a/src/mga_video.c
+++ b/src/mga_video.c
@@ -1468,7 +1468,7 @@ static void CopyMungedScanlineFilterDown_AXP(CARD32 *fb_ptr, short src_w,
 					     int beta , int xds)
 {
     unsigned int k,y0_1,y1_1,y0_2,y1_2,u,v;
-    int yf[8], uf[4], vf[4];
+    int yf[8];
   
     for(k=src_w/8;k;k--) {
 	y0_1=*tsp1;
-- 
1.7.5.3


More information about the xorg-devel mailing list