[vlc-devel] commit: Remove useless assignation ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Aug 6 22:05:05 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 6 23:04:47 2009 +0300| [338355426e19d4cb0d92a632a44726c7f249fdcd] | committer: Rémi Denis-Courmont
Remove useless assignation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=338355426e19d4cb0d92a632a44726c7f249fdcd
---
src/playlist/thread.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/playlist/thread.c b/src/playlist/thread.c
index 3e7bf06..9bcd3cf 100644
--- a/src/playlist/thread.c
+++ b/src/playlist/thread.c
@@ -191,9 +191,9 @@ static void ResetCurrentlyPlaying( playlist_t *p_playlist,
PLI_NAME( p_sys->status.p_node ) );
ARRAY_RESET( p_playlist->current );
p_playlist->i_current_index = -1;
- for( playlist_item_t *p_next = NULL; ; )
- {
- /** FIXME: this is *slow* */
+ for( ;; )
+ { /** FIXME: this is *slow* */
+ playlist_item_t *p_next;
p_next = playlist_GetNextLeaf( p_playlist,
p_sys->status.p_node,
p_next, true, false );
More information about the vlc-devel
mailing list