diff libvo/mga_common.c @ 8123:9fc45fe0d444

*HUGE* set of compiler warning fixes, unused variables removal based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>
author arpi
date Wed, 06 Nov 2002 23:54:29 +0000
parents a57aac3a927a
children ff92d9b5ade5
line wrap: on
line diff
--- a/libvo/mga_common.c	Wed Nov 06 23:51:17 2002 +0000
+++ b/libvo/mga_common.c	Wed Nov 06 23:54:29 2002 +0000
@@ -16,7 +16,10 @@
 static uint8_t *vid_data, *frames[4];
 static int f = -1;
 
-static uint32_t               drwX,drwY,drwWidth,drwHeight,drwBorderWidth,drwDepth;
+static uint32_t               drwX,drwY,drwWidth,drwHeight;
+#ifdef VO_XMGA
+static uint32_t               drwBorderWidth,drwDepth;
+#endif
 static uint32_t               drwcX,drwcY,dwidth,dheight;
 
 static void draw_alpha(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride){
@@ -324,7 +327,7 @@
   case VOCTRL_SET_PANSCAN:
       if ( vo_fs && ( vo_panscan != vo_panscan_amount ) ) // || ( !vo_fs && vo_panscan_amount ) )
        {
-        int old_y = vo_panscan_y;
+//        int old_y = vo_panscan_y;
 	panscan_calc();
 //        if ( old_y != vo_panscan_y ) 
 	set_window();