Browse Source

Fixed unused variable and parameter warnings.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
pull/9/head
Maxim Bublis 13 years ago
committed by Jean-Baptiste Kempf
parent
commit
4b726052a3
  1. 1
      lib/media.c
  2. 1
      modules/gui/eject.c
  3. 1
      modules/video_chroma/copy.c
  4. 5
      src/posix/filesystem.c

1
lib/media.c

@ -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;

1
modules/gui/eject.c

@ -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

1
modules/video_chroma/copy.c

@ -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,

5
src/posix/filesystem.c

@ -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;
}

Loading…
Cancel
Save