summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xover.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_xover.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_xover.c')
-rw-r--r--libvo/vo_xover.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libvo/vo_xover.c b/libvo/vo_xover.c
index dd7bceadb1..644e99910f 100644
--- a/libvo/vo_xover.c
+++ b/libvo/vo_xover.c
@@ -59,8 +59,6 @@ static const vo_info_t info =
LIBVO_EXTERN(xover)
-#define UNUSED(x) ((void)(x)) /* Removes warning about unused arguments */
-
/* X11 related variables */
/* Colorkey handling */
static int colorkey;
@@ -340,19 +338,12 @@ 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, "xover error: didn't used sub vo draw_slice!\n");
return 1;
}
static int draw_frame(uint8_t *src[])
{
- UNUSED(src);
mp_msg(MSGT_VO, MSGL_FATAL, "xover error: didn't used sub vo draw_frame!\n");
return 1;
}