Commit 4b726052 authored by Maxim Bublis's avatar Maxim Bublis Committed by Jean-Baptiste Kempf

Fixed unused variable and parameter warnings.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent d6cfb16f
......@@ -125,6 +125,7 @@ static void input_item_subitem_added( const vlc_event_t *p_event,
static void input_item_subitemtree_added( const vlc_event_t * p_event,
void * user_data )
{
VLC_UNUSED( p_event );
libvlc_media_t * p_md = user_data;
libvlc_event_t event;
......
......@@ -174,6 +174,7 @@ static int intf_Eject( vlc_object_t *p_this, const char *psz_device )
return VLC_SUCCESS;
#else
VLC_UNUSED( psz_device );
msg_Warn( p_this, "CD-Rom ejection unsupported on this platform" );
return VLC_EGENERIC;
#endif
......
......@@ -172,6 +172,7 @@ static void SSE_SplitUV(uint8_t *dstu, size_t dstu_pitch,
const uint8_t *src, size_t src_pitch,
unsigned width, unsigned height, unsigned cpu)
{
VLC_UNUSED(cpu);
const uint8_t shuffle[] = { 0, 2, 4, 6, 8, 10, 12, 14,
1, 3, 5, 7, 9, 11, 13, 15 };
const uint8_t mask[] = { 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00,
......
......@@ -103,9 +103,12 @@ int vlc_openat (int dir, const char *filename, int flags, ...)
if (fd != -1)
fcntl (fd, F_SETFD, FD_CLOEXEC);
#else
VLC_UNUSED (dir);
VLC_UNUSED (filename);
VLC_UNUSED (mode);
int fd = -1;
errno = ENOSYS;
(void) mode;
#endif
return fd;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment