[vlc-devel] commit: playlist: With NDEBUG p_playlist may become unused. (Pierre d' Herbemont )
git version control
git at videolan.org
Wed Aug 13 01:12:58 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Wed Aug 13 01:14:39 2008 +0200| [5b15b230d318ee37379cd9468f2c1e3af8e06fd8] | committer: Pierre d'Herbemont
playlist: With NDEBUG p_playlist may become unused.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5b15b230d318ee37379cd9468f2c1e3af8e06fd8
---
src/playlist/tree.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/playlist/tree.c b/src/playlist/tree.c
index c4553cc..a87ee17 100644
--- a/src/playlist/tree.c
+++ b/src/playlist/tree.c
@@ -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;
More information about the vlc-devel
mailing list