diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-10-02 14:22:03 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:18:08 +0200 |
commit | 690bcb7b2c750ce6935e979c392395882d51744b (patch) | |
tree | d563f321a0f8da5a31c34f433a64351795cecdf0 /libvo/vo_cvidix.c | |
parent | 69e3e06a1ab7c58b16294d0c7451b374e5966e21 (diff) | |
download | mpv-690bcb7b2c750ce6935e979c392395882d51744b.tar.bz2 mpv-690bcb7b2c750ce6935e979c392395882d51744b.tar.xz |
libvo: remove UNUSED() macros
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32422 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_cvidix.c')
-rw-r--r-- | libvo/vo_cvidix.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libvo/vo_cvidix.c b/libvo/vo_cvidix.c index a4a29719de..593ded5887 100644 --- a/libvo/vo_cvidix.c +++ b/libvo/vo_cvidix.c @@ -49,8 +49,6 @@ static const vo_info_t info = { LIBVO_EXTERN(cvidix) -#define UNUSED(x) ((void)(x)) /* Removes warning about unused arguments */ - /* VIDIX related */ static char *vidix_name; static uint32_t swidth,sheight,sformat; @@ -136,18 +134,11 @@ static void flip_page(void){ } 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, "vo_cvidix: error: didn't use vidix draw_slice!\n"); return -1; } static int draw_frame(uint8_t *src[]){ - UNUSED(src); mp_msg(MSGT_VO, MSGL_FATAL, "vo_cvidix: error: didn't use vidix draw_frame!\n"); return -1; } |