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_vesa.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_vesa.c')
-rw-r--r-- | libvo/vo_vesa.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index 024037fd70..8c367586ee 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -64,8 +64,6 @@ #define MAX_BUFFERS 3 -#define UNUSED(x) ((void)(x)) /**< Removes warning about unused arguments */ - static const vo_info_t info = { "VESA VBE 2.0 video output", @@ -345,13 +343,6 @@ static void draw_alpha_15(int x0,int y0, int w,int h, unsigned char* src, unsign static void draw_alpha_null(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride) { - UNUSED(x0); - UNUSED(y0); - UNUSED(w); - UNUSED(h); - UNUSED(src); - UNUSED(srca); - UNUSED(stride); } |