Commit 58a1d71b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Remove useless constant

parent 82e52ea8
......@@ -62,12 +62,6 @@
#endif
#include <assert.h>
/*****************************************************************************
* Constants
*****************************************************************************/
const vlc_destructor_t kVLCDestructor = NULL;
/*****************************************************************************
* Local prototypes
*****************************************************************************/
......@@ -170,7 +164,7 @@ void *vlc_custom_create( vlc_object_t *p_this, size_t i_size,
vlc_spin_init( &p_priv->ref_spin );
p_priv->i_refcount = 1;
p_priv->pf_destructor = kVLCDestructor;
p_priv->pf_destructor = NULL;
p_priv->b_thread = false;
p_new->p_parent = NULL;
p_new->pp_children = NULL;
......@@ -321,7 +315,7 @@ static void vlc_object_destroy( vlc_object_t *p_this )
{
vlc_object_internals_t *p_priv = vlc_internals( p_this );
/* Automatically detach the object from its parents */
/* Automatically detach the object from its parent */
if( p_this->p_parent ) vlc_object_detach( p_this );
......
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