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/vesa_lvo.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/vesa_lvo.c')
-rw-r--r-- | libvo/vesa_lvo.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libvo/vesa_lvo.c b/libvo/vesa_lvo.c index cc77012c0b..4f4c796250 100644 --- a/libvo/vesa_lvo.c +++ b/libvo/vesa_lvo.c @@ -44,7 +44,6 @@ #define WIDTH_ALIGN 32 /* should be 16 for rage:422 and 32 for rage:420 */ #define NUM_FRAMES 10 -#define UNUSED(x) ((void)(x)) /**< Removes warning about unused arguments */ static uint8_t *frames[NUM_FRAMES]; @@ -226,13 +225,6 @@ static void vlvo_flip_page(void) #if 0 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); } static void draw_alpha(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride) |