Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
656fa1a2
Commit
656fa1a2
authored
Jan 28, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux/playlist/ : removes useless unused parameter warnings
parent
c35ce644
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
25 additions
and
1 deletion
+25
-1
modules/demux/playlist/asx.c
modules/demux/playlist/asx.c
+1
-0
modules/demux/playlist/b4s.c
modules/demux/playlist/b4s.c
+1
-0
modules/demux/playlist/dvb.c
modules/demux/playlist/dvb.c
+2
-0
modules/demux/playlist/gvp.c
modules/demux/playlist/gvp.c
+1
-0
modules/demux/playlist/ifo.c
modules/demux/playlist/ifo.c
+2
-0
modules/demux/playlist/itml.c
modules/demux/playlist/itml.c
+8
-1
modules/demux/playlist/m3u.c
modules/demux/playlist/m3u.c
+1
-0
modules/demux/playlist/pls.c
modules/demux/playlist/pls.c
+1
-0
modules/demux/playlist/podcast.c
modules/demux/playlist/podcast.c
+1
-0
modules/demux/playlist/qtl.c
modules/demux/playlist/qtl.c
+1
-0
modules/demux/playlist/sgimb.c
modules/demux/playlist/sgimb.c
+1
-0
modules/demux/playlist/shoutcast.c
modules/demux/playlist/shoutcast.c
+1
-0
modules/demux/playlist/xspf.c
modules/demux/playlist/xspf.c
+4
-0
No files found.
modules/demux/playlist/asx.c
View file @
656fa1a2
...
@@ -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
;
}
}
modules/demux/playlist/b4s.c
View file @
656fa1a2
...
@@ -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
;
}
}
...
...
modules/demux/playlist/dvb.c
View file @
656fa1a2
...
@@ -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
;
}
}
modules/demux/playlist/gvp.c
View file @
656fa1a2
...
@@ -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
;
}
}
modules/demux/playlist/ifo.c
View file @
656fa1a2
...
@@ -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
;
}
}
modules/demux/playlist/itml.c
View file @
656fa1a2
...
@@ -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
)
...
...
modules/demux/playlist/m3u.c
View file @
656fa1a2
...
@@ -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
;
}
}
...
...
modules/demux/playlist/pls.c
View file @
656fa1a2
...
@@ -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
;
}
}
modules/demux/playlist/podcast.c
View file @
656fa1a2
...
@@ -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
;
}
}
modules/demux/playlist/qtl.c
View file @
656fa1a2
...
@@ -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
;
}
}
modules/demux/playlist/sgimb.c
View file @
656fa1a2
...
@@ -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
;
}
}
modules/demux/playlist/shoutcast.c
View file @
656fa1a2
...
@@ -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
;
}
}
modules/demux/playlist/xspf.c
View file @
656fa1a2
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment