]> git.sesse.net Git - vlc/commitdiff
playlist: With NDEBUG p_playlist may become unused.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 12 Aug 2008 23:14:39 +0000 (01:14 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 12 Aug 2008 23:15:50 +0000 (01:15 +0200)
src/playlist/tree.c

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