]> git.sesse.net Git - vlc/commitdiff
Revert "playlist: With NDEBUG p_playlist may become unused."
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 12 Aug 2008 23:23:15 +0000 (01:23 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 12 Aug 2008 23:23:15 +0000 (01:23 +0200)
This reverts commit 5b15b230d318ee37379cd9468f2c1e3af8e06fd8.

This is not needed anymore with recent changes to vlc_assert_locked.

src/playlist/tree.c

index a87ee1704d8e11f615f68d528e6d692d16a87181..c4553cc8e7bc182e3874f83fc2f8757e2b8c54db 100644 (file)
@@ -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;