[vlc-devel] commit: Unused variable ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Jul 3 19:56:09 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Jul 3 20:58:18 2008 +0300| [f2dcb7876939ffef8ec81a2252870ab12756285b]
Unused variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f2dcb7876939ffef8ec81a2252870ab12756285b
---
src/misc/objects.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/misc/objects.c b/src/misc/objects.c
index a580116..74564e3 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -326,9 +326,9 @@ static void vlc_object_destroy( vlc_object_t *p_this )
if( p_this->p_libvlc == NULL )
{
+#ifndef NDEBUG
libvlc_global_data_t *p_global = (libvlc_global_data_t *)p_this;
-#ifndef NDEBUG
assert( p_global == vlc_global() );
/* Test for leaks */
if (p_priv->next != p_this)
More information about the vlc-devel
mailing list