[vlc-devel] commit: Dead code ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Sep 24 19:18:49 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Sep 24 20:08:59 2009 +0300| [0ae58ebc4a6a5435f7cb79a22f863dec2b9e9e47] | committer: Rémi Denis-Courmont 

Dead code

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0ae58ebc4a6a5435f7cb79a22f863dec2b9e9e47
---

 src/misc/objects.c |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/src/misc/objects.c b/src/misc/objects.c
index eb8e799..a4fbf36 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -81,9 +81,6 @@ static void           ListChildren  ( vlc_list_t *, vlc_object_t *, int );
 
 static void vlc_object_destroy( vlc_object_t *p_this );
 static void vlc_object_detach_unlocked (vlc_object_t *p_this);
-#ifndef NDEBUG
-static void vlc_object_dump( vlc_object_t *p_this );
-#endif
 
 /*****************************************************************************
  * Local structure lock
@@ -920,19 +917,6 @@ void vlc_list_release( vlc_list_t *p_list )
     free( p_list );
 }
 
-/*****************************************************************************
- * dump an object. (Debug function)
- *****************************************************************************/
-#ifndef NDEBUG
-static void vlc_object_dump( vlc_object_t *p_this )
-{
-    char psz_foo[2 * MAX_DUMPSTRUCTURE_DEPTH + 1];
-    psz_foo[0] = '|';
-
-    DumpStructure( p_this, 0, psz_foo );
-}
-#endif
-
 /* Following functions are local */
 
 static vlc_object_t * FindObject( vlc_object_t *p_this, int i_type, int i_mode )




More information about the vlc-devel mailing list