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_xvmc.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_xvmc.c')
-rw-r--r-- | libvo/vo_xvmc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c index 2d33847019..252a2cf87f 100644 --- a/libvo/vo_xvmc.c +++ b/libvo/vo_xvmc.c @@ -59,8 +59,6 @@ #include <assert.h> -#define UNUSED(x) ((void)(x)) - #if LIBAVCODEC_BUILD < ((51<<16)+(40<<8)+2) #error You need at least libavcodec v51.40.2 #endif @@ -672,7 +670,6 @@ skip_surface_allocation: } static int draw_frame(uint8_t *srcp[]){ - UNUSED(srcp); assert(0); } |