Commit 656fa1a2 authored by Rafaël Carré's avatar Rafaël Carré

demux/playlist/ : removes useless unused parameter warnings

parent c35ce644
...@@ -698,5 +698,6 @@ static int Demux( demux_t *p_demux ) ...@@ -698,5 +698,6 @@ static int Demux( demux_t *p_demux )
static int Control( demux_t *p_demux, int i_query, va_list args ) static int Control( demux_t *p_demux, int i_query, va_list args )
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(i_query); VLC_UNUSED(args);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
...@@ -297,6 +297,7 @@ static int Demux( demux_t *p_demux ) ...@@ -297,6 +297,7 @@ static int Demux( demux_t *p_demux )
static int Control( demux_t *p_demux, int i_query, va_list args ) static int Control( demux_t *p_demux, int i_query, va_list args )
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(i_query); VLC_UNUSED(args);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
...@@ -91,6 +91,7 @@ int E_(Import_DVB)( vlc_object_t *p_this ) ...@@ -91,6 +91,7 @@ int E_(Import_DVB)( vlc_object_t *p_this )
*****************************************************************************/ *****************************************************************************/
void E_(Close_DVB)( vlc_object_t *p_this ) void E_(Close_DVB)( vlc_object_t *p_this )
{ {
VLC_UNUSED(p_this);
} }
/***************************************************************************** /*****************************************************************************
...@@ -306,5 +307,6 @@ static int ParseLine( char *psz_line, char **ppsz_name, ...@@ -306,5 +307,6 @@ static int ParseLine( char *psz_line, char **ppsz_name,
static int Control( demux_t *p_demux, int i_query, va_list args ) static int Control( demux_t *p_demux, int i_query, va_list args )
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(i_query); VLC_UNUSED(args);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
...@@ -232,5 +232,6 @@ static int Demux( demux_t *p_demux ) ...@@ -232,5 +232,6 @@ static int Demux( demux_t *p_demux )
static int Control( demux_t *p_demux, int i_query, va_list args ) static int Control( demux_t *p_demux, int i_query, va_list args )
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(i_query); VLC_UNUSED(args);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
...@@ -79,6 +79,7 @@ int E_(Import_IFO)( vlc_object_t *p_this ) ...@@ -79,6 +79,7 @@ int E_(Import_IFO)( vlc_object_t *p_this )
*****************************************************************************/ *****************************************************************************/
void E_(Close_IFO)( vlc_object_t *p_this ) void E_(Close_IFO)( vlc_object_t *p_this )
{ {
VLC_UNUSED(p_this);
} }
static int Demux( demux_t *p_demux ) static int Demux( demux_t *p_demux )
...@@ -105,5 +106,6 @@ static int Demux( demux_t *p_demux ) ...@@ -105,5 +106,6 @@ static int Demux( demux_t *p_demux )
static int Control( demux_t *p_demux, int i_query, va_list args ) static int Control( demux_t *p_demux, int i_query, va_list args )
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(i_query); VLC_UNUSED(args);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* itml.c : iTunes Music Library import functions * itml.c : iTunes Music Library import functions
******************************************************************************* *******************************************************************************
* Copyright (C) 2007 the VideoLAN team * Copyright (C) 2007 the VideoLAN team
* $Id: $ * $Id$
* *
* Authors: Yoann Peronneau <yoann@videolan.org> * Authors: Yoann Peronneau <yoann@videolan.org>
* *
...@@ -130,6 +130,7 @@ int Demux( demux_t *p_demux ) ...@@ -130,6 +130,7 @@ int Demux( demux_t *p_demux )
/** \brief dummy function for demux callback interface */ /** \brief dummy function for demux callback interface */
static int Control( demux_t *p_demux, int i_query, va_list args ) static int Control( demux_t *p_demux, int i_query, va_list args )
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(i_query); VLC_UNUSED(args);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
...@@ -138,6 +139,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -138,6 +139,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
*/ */
static vlc_bool_t parse_plist_node COMPLEX_INTERFACE static vlc_bool_t parse_plist_node COMPLEX_INTERFACE
{ {
VLC_UNUSED(p_track); VLC_UNUSED(psz_element);
char *psz_name = NULL; char *psz_name = NULL;
char *psz_value = NULL; char *psz_value = NULL;
vlc_bool_t b_version_found = VLC_FALSE; vlc_bool_t b_version_found = VLC_FALSE;
...@@ -301,6 +303,7 @@ static vlc_bool_t parse_dict COMPLEX_INTERFACE ...@@ -301,6 +303,7 @@ static vlc_bool_t parse_dict COMPLEX_INTERFACE
static vlc_bool_t parse_plist_dict COMPLEX_INTERFACE static vlc_bool_t parse_plist_dict COMPLEX_INTERFACE
{ {
VLC_UNUSED(p_track); VLC_UNUSED(psz_element); VLC_UNUSED(p_handlers);
xml_elem_hnd_t pl_elements[] = xml_elem_hnd_t pl_elements[] =
{ {"dict", COMPLEX_CONTENT, {.cmplx = parse_tracks_dict} }, { {"dict", COMPLEX_CONTENT, {.cmplx = parse_tracks_dict} },
{"array", SIMPLE_CONTENT, {NULL} }, {"array", SIMPLE_CONTENT, {NULL} },
...@@ -319,6 +322,7 @@ static vlc_bool_t parse_plist_dict COMPLEX_INTERFACE ...@@ -319,6 +322,7 @@ static vlc_bool_t parse_plist_dict COMPLEX_INTERFACE
static vlc_bool_t parse_tracks_dict COMPLEX_INTERFACE static vlc_bool_t parse_tracks_dict COMPLEX_INTERFACE
{ {
VLC_UNUSED(p_track); VLC_UNUSED(psz_element); VLC_UNUSED(p_handlers);
xml_elem_hnd_t tracks_elements[] = xml_elem_hnd_t tracks_elements[] =
{ {"dict", COMPLEX_CONTENT, {.cmplx = parse_track_dict} }, { {"dict", COMPLEX_CONTENT, {.cmplx = parse_track_dict} },
{"key", SIMPLE_CONTENT, {NULL} }, {"key", SIMPLE_CONTENT, {NULL} },
...@@ -336,6 +340,7 @@ static vlc_bool_t parse_tracks_dict COMPLEX_INTERFACE ...@@ -336,6 +340,7 @@ static vlc_bool_t parse_tracks_dict COMPLEX_INTERFACE
static vlc_bool_t parse_track_dict COMPLEX_INTERFACE static vlc_bool_t parse_track_dict COMPLEX_INTERFACE
{ {
VLC_UNUSED(psz_element); VLC_UNUSED(p_handlers);
input_item_t *p_new_input = NULL; input_item_t *p_new_input = NULL;
int i_ret = -1; int i_ret = -1;
char *psz_uri = NULL; char *psz_uri = NULL;
...@@ -483,6 +488,8 @@ static vlc_bool_t add_meta( input_item_t *p_input_item, ...@@ -483,6 +488,8 @@ static vlc_bool_t add_meta( input_item_t *p_input_item,
*/ */
static vlc_bool_t skip_element COMPLEX_INTERFACE static vlc_bool_t skip_element COMPLEX_INTERFACE
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(p_playlist); VLC_UNUSED(p_input_item);
VLC_UNUSED(p_track); VLC_UNUSED(p_handlers);
char *psz_endname; char *psz_endname;
while( xml_ReaderRead( p_xml_reader ) == 1 ) while( xml_ReaderRead( p_xml_reader ) == 1 )
......
...@@ -231,6 +231,7 @@ static int Demux( demux_t *p_demux ) ...@@ -231,6 +231,7 @@ static int Demux( demux_t *p_demux )
static int Control( demux_t *p_demux, int i_query, va_list args ) static int Control( demux_t *p_demux, int i_query, va_list args )
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(i_query); VLC_UNUSED(args);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
...@@ -246,5 +246,6 @@ static int Demux( demux_t *p_demux ) ...@@ -246,5 +246,6 @@ static int Demux( demux_t *p_demux )
static int Control( demux_t *p_demux, int i_query, va_list args ) static int Control( demux_t *p_demux, int i_query, va_list args )
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(i_query); VLC_UNUSED(args);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
...@@ -330,5 +330,6 @@ static int Demux( demux_t *p_demux ) ...@@ -330,5 +330,6 @@ static int Demux( demux_t *p_demux )
static int Control( demux_t *p_demux, int i_query, va_list args ) static int Control( demux_t *p_demux, int i_query, va_list args )
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(i_query); VLC_UNUSED(args);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
...@@ -386,5 +386,6 @@ static int Demux( demux_t *p_demux ) ...@@ -386,5 +386,6 @@ static int Demux( demux_t *p_demux )
static int Control( demux_t *p_demux, int i_query, va_list args ) static int Control( demux_t *p_demux, int i_query, va_list args )
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(i_query); VLC_UNUSED(args);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
...@@ -416,6 +416,7 @@ static int Demux ( demux_t *p_demux ) ...@@ -416,6 +416,7 @@ static int Demux ( demux_t *p_demux )
static int Control( demux_t *p_demux, int i_query, va_list args ) static int Control( demux_t *p_demux, int i_query, va_list args )
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(i_query); VLC_UNUSED(args);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
...@@ -447,5 +447,6 @@ static int DemuxStation( demux_t *p_demux ) ...@@ -447,5 +447,6 @@ static int DemuxStation( demux_t *p_demux )
static int Control( demux_t *p_demux, int i_query, va_list args ) static int Control( demux_t *p_demux, int i_query, va_list args )
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(i_query); VLC_UNUSED(args);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
...@@ -145,6 +145,7 @@ int Demux( demux_t *p_demux ) ...@@ -145,6 +145,7 @@ int Demux( demux_t *p_demux )
/** \brief dummy function for demux callback interface */ /** \brief dummy function for demux callback interface */
static int Control( demux_t *p_demux, int i_query, va_list args ) static int Control( demux_t *p_demux, int i_query, va_list args )
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(i_query); VLC_UNUSED(args);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
...@@ -327,6 +328,7 @@ static vlc_bool_t parse_playlist_node COMPLEX_INTERFACE ...@@ -327,6 +328,7 @@ static vlc_bool_t parse_playlist_node COMPLEX_INTERFACE
*/ */
static vlc_bool_t parse_tracklist_node COMPLEX_INTERFACE static vlc_bool_t parse_tracklist_node COMPLEX_INTERFACE
{ {
VLC_UNUSED(psz_element);
char *psz_name=NULL; char *psz_name=NULL;
int i_node; int i_node;
int i_ntracks = 0; int i_ntracks = 0;
...@@ -851,6 +853,7 @@ static vlc_bool_t parse_extension_node COMPLEX_INTERFACE ...@@ -851,6 +853,7 @@ static vlc_bool_t parse_extension_node COMPLEX_INTERFACE
*/ */
static vlc_bool_t parse_extitem_node COMPLEX_INTERFACE static vlc_bool_t parse_extitem_node COMPLEX_INTERFACE
{ {
VLC_UNUSED(p_playlist); VLC_UNUSED(psz_element);
input_item_t *p_new_input = NULL; input_item_t *p_new_input = NULL;
char *psz_name = NULL; char *psz_name = NULL;
char *psz_value = NULL; char *psz_value = NULL;
...@@ -911,6 +914,7 @@ static vlc_bool_t parse_extitem_node COMPLEX_INTERFACE ...@@ -911,6 +914,7 @@ static vlc_bool_t parse_extitem_node COMPLEX_INTERFACE
*/ */
static vlc_bool_t skip_element COMPLEX_INTERFACE static vlc_bool_t skip_element COMPLEX_INTERFACE
{ {
VLC_UNUSED(p_demux); VLC_UNUSED(p_playlist); VLC_UNUSED(p_input_item);
char *psz_endname; char *psz_endname;
while( xml_ReaderRead( p_xml_reader ) == 1 ) while( xml_ReaderRead( p_xml_reader ) == 1 )
......
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