]> git.sesse.net Git - vlc/blobdiff - modules/demux/playlist/xspf.c
demux/playlist/ : removes useless unused parameter warnings
[vlc] / modules / demux / playlist / xspf.c
index 7b3e74737897342c00dbe2c58c79a9ef2652da3c..9b2e736b96fa27ca79f34e8c58e3f357744a7756 100644 (file)
  * \brief XSPF playlist import functions
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_demux.h>
 
@@ -141,6 +145,7 @@ int Demux( demux_t *p_demux )
 /** \brief dummy function for demux callback interface */
 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;
 }
 
@@ -323,6 +328,7 @@ static vlc_bool_t parse_playlist_node COMPLEX_INTERFACE
  */
 static vlc_bool_t parse_tracklist_node COMPLEX_INTERFACE
 {
+    VLC_UNUSED(psz_element);
     char *psz_name=NULL;
     int i_node;
     int i_ntracks = 0;
@@ -712,7 +718,7 @@ static vlc_bool_t parse_extension_node COMPLEX_INTERFACE
             msg_Warn( p_demux, "<node> requires \"title\" attribute" );
             return VLC_FALSE;
         }
-        p_new_input = input_ItemNewWithType( VLC_OBJECT( p_playlist ), "vlc:skip",
+        p_new_input = input_ItemNewWithType( VLC_OBJECT( p_playlist ), "vlc:nop",
                                 psz_title, 0, NULL, -1, ITEM_TYPE_DIRECTORY );
         if( p_new_input )
         {
@@ -847,6 +853,7 @@ static vlc_bool_t parse_extension_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;
     char *psz_name = NULL;
     char *psz_value = NULL;
@@ -907,6 +914,7 @@ static vlc_bool_t parse_extitem_node 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;
 
     while( xml_ReaderRead( p_xml_reader ) == 1 )