[vlc-devel] commit: Revert "playlist: With NDEBUG p_playlist may become unused." ( Pierre d'Herbemont )

git version control git at videolan.org
Wed Aug 13 01:20:21 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Wed Aug 13 01:23:15 2008 +0200| [8709c035079d04262942880866453a35be18c538] | committer: Pierre d'Herbemont 

Revert "playlist: With NDEBUG p_playlist may become unused."

This reverts commit 5b15b230d318ee37379cd9468f2c1e3af8e06fd8.

This is not needed anymore with recent changes to vlc_assert_locked.

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

 src/playlist/tree.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/playlist/tree.c b/src/playlist/tree.c
index a87ee17..c4553cc 100644
--- a/src/playlist/tree.c
+++ b/src/playlist/tree.c
@@ -279,7 +279,6 @@ playlist_item_t *playlist_ChildSearchName( playlist_item_t *p_node,
                                            const char *psz_search )
 {
     playlist_t * p_playlist = p_node->p_playlist; /* For assert_locked */
-    (void)p_playlist; /* in NDEBUG case */
     PL_ASSERT_LOCKED;
     int i;
 




More information about the vlc-devel mailing list