Commit 8709c035 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

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

This reverts commit 5b15b230.

This is not needed anymore with recent changes to vlc_assert_locked.
parent 6da58d2a
...@@ -279,7 +279,6 @@ playlist_item_t *playlist_ChildSearchName( playlist_item_t *p_node, ...@@ -279,7 +279,6 @@ playlist_item_t *playlist_ChildSearchName( playlist_item_t *p_node,
const char *psz_search ) const char *psz_search )
{ {
playlist_t * p_playlist = p_node->p_playlist; /* For assert_locked */ playlist_t * p_playlist = p_node->p_playlist; /* For assert_locked */
(void)p_playlist; /* in NDEBUG case */
PL_ASSERT_LOCKED; PL_ASSERT_LOCKED;
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment