From 5edd9af248f1a917d7daf7e106ac0a18660ef60d Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 28 May 2007 08:42:35 +0000 Subject: Remove some unused variables, patch by timwoj ieee org. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl.c | 1 - libvo/vo_macosx.m | 1 - libvo/vo_quartz.c | 1 - libvo/vo_x11.c | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) (limited to 'libvo') diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index b4c2edd76e..d56eef6513 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -261,7 +261,6 @@ static void genEOSD(mp_eosd_images_t *imgs) { GLint scale_type = (scaled_osd) ? GL_LINEAR : GL_NEAREST; ass_image_t *img = imgs->imgs; ass_image_t *i; - int cnt; if (imgs->changed == 0) // there are elements, but they are unchanged return; diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m index dd1520c43f..fdbff85a14 100644 --- a/libvo/vo_macosx.m +++ b/libvo/vo_macosx.m @@ -95,7 +95,6 @@ static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src, unsigne static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) { - int i; //init screen screen_array = [NSScreen screens]; diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c index b9546dc80d..a47f58c942 100644 --- a/libvo/vo_quartz.c +++ b/libvo/vo_quartz.c @@ -99,7 +99,6 @@ static CGRect bounds; static GDHandle deviceHdl; static CGDataProviderRef dataProviderRef; -static CGImageAlphaInfo alphaInfo; static CGImageRef image; static Rect imgRect; // size of the original image (unscaled) diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index 888ef4e49f..d9f04bee0b 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -71,7 +71,7 @@ static unsigned char *ImageDataOrig; /* X11 related variables */ static XImage *myximage = NULL; -static int depth, bpp, mode; +static int depth, bpp; static XWindowAttributes attribs; static int int_pause; -- cgit v1.2.3