[vlc-commits] playlist: remove unused return value

Rémi Denis-Courmont git at videolan.org
Sat Aug 16 10:14:57 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug 16 11:14:48 2014 +0300| [0d6f97a84e40a28be1da1b7fe1aae83aeb8ff338] | committer: Rémi Denis-Courmont

playlist: remove unused return value

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0d6f97a84e40a28be1da1b7fe1aae83aeb8ff338
---

 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