Mercurial > mplayer.hg
diff libvo/vo_xvidix.c @ 32336:09dd92639e7b
Remove UNUSED macros used to shut up unused function parameter warnings.
The macros are duplicated all over libvo and serve no useful purpose
nowadays. A better way to shut up the warnings is -Wno-unused-parameter.
author | diego |
---|---|
date | Sat, 02 Oct 2010 14:22:03 +0000 |
parents | ad274a5b093b |
children | ac7cc5583145 |
line wrap: on
line diff
--- a/libvo/vo_xvidix.c Fri Oct 01 18:29:35 2010 +0000 +++ b/libvo/vo_xvidix.c Sat Oct 02 14:22:03 2010 +0000 @@ -57,7 +57,7 @@ }; LIBVO_EXTERN(xvidix) -#define UNUSED(x) ((void)(x)) /* Removes warning about unused arguments */ + /* X11 related variables */ /* Colorkey handling */ static int colorkey; @@ -339,12 +339,6 @@ static int draw_slice(uint8_t * src[], int stride[], int w, int h, int x, int y) { - UNUSED(src); - UNUSED(stride); - UNUSED(w); - UNUSED(h); - UNUSED(x); - UNUSED(y); mp_msg(MSGT_VO, MSGL_FATAL, "[xvidix] error: didn't used vidix draw_slice!\n"); return -1; @@ -352,7 +346,6 @@ static int draw_frame(uint8_t * src[]) { - UNUSED(src); mp_msg(MSGT_VO, MSGL_FATAL, "[xvidix] error: didn't used vidix draw_frame!\n"); return -1;