summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xvidix.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-10-02 14:22:03 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:18:08 +0200
commit690bcb7b2c750ce6935e979c392395882d51744b (patch)
treed563f321a0f8da5a31c34f433a64351795cecdf0 /libvo/vo_xvidix.c
parent69e3e06a1ab7c58b16294d0c7451b374e5966e21 (diff)
downloadmpv-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_xvidix.c')
-rw-r--r--libvo/vo_xvidix.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libvo/vo_xvidix.c b/libvo/vo_xvidix.c
index c7481ae613..f6c39f9f77 100644
--- a/libvo/vo_xvidix.c
+++ b/libvo/vo_xvidix.c
@@ -57,7 +57,7 @@ static const vo_info_t info = {
};
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 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,
"[xvidix] error: didn't used vidix draw_slice!\n");
return -1;
@@ -352,7 +346,6 @@ static int draw_slice(uint8_t * src[], int stride[],
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;