[vlc-commits] playlist: remove unused return value
Rémi Denis-Courmont
git at videolan.org
Sat Aug 16 10:18:50 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug 16 11:14:48 2014 +0300| [ae3c84e85fe55dd15ec1a95c33035469b0bd1383] | committer: Rémi Denis-Courmont
playlist: remove unused return value
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ae3c84e85fe55dd15ec1a95c33035469b0bd1383
---
src/playlist/thread.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/playlist/thread.c b/src/playlist/thread.c
index a6ecbdb..37b73f2 100644
--- a/src/playlist/thread.c
+++ b/src/playlist/thread.c
@@ -192,7 +192,7 @@ void ResetCurrentlyPlaying( playlist_t *p_playlist,
* \param p_item the item to play
* \return nothing
*/
-static int PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
+static void PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
{
playlist_private_t *p_sys = pl_priv(p_playlist);
input_item_t *p_input = p_item->p_input;
@@ -240,8 +240,6 @@ static int PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
PL_UNLOCK;
var_TriggerCallback( p_playlist, "activity" );
PL_LOCK;
-
- return VLC_SUCCESS;
}
/**
More information about the vlc-commits
mailing list