]> git.sesse.net Git - vlc/commitdiff
Dead code
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 24 Sep 2009 17:08:59 +0000 (20:08 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 24 Sep 2009 17:18:43 +0000 (20:18 +0300)
src/misc/objects.c

index eb8e799b5536068e0a3568b345d02c371a8544fc..a4fbf3619c7540903a7d05916626a6592121ceb3 100644 (file)
@@ -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 )