Commit 7a4b7465 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

GetUnused: remove invalidated comment

parent c8a5ee83
...@@ -388,7 +388,6 @@ int __var_Destroy( vlc_object_t *p_this, const char *psz_name ) ...@@ -388,7 +388,6 @@ int __var_Destroy( vlc_object_t *p_this, const char *psz_name )
if( pp_vars != NULL ) if( pp_vars != NULL )
p_priv->pp_vars = pp_vars; p_priv->pp_vars = pp_vars;
} }
vlc_mutex_unlock( &p_priv->var_lock ); vlc_mutex_unlock( &p_priv->var_lock );
Destroy( p_var ); Destroy( p_var );
...@@ -1148,9 +1147,6 @@ cleanup: ...@@ -1148,9 +1147,6 @@ cleanup:
/***************************************************************************** /*****************************************************************************
* GetUnused: find an unused (not in callback) variable from its name * GetUnused: find an unused (not in callback) variable from its name
*****************************************************************************
* We do i_tries tries before giving up, just in case the variable is being
* modified and called from a callback.
*****************************************************************************/ *****************************************************************************/
static int GetUnused( vlc_object_t *p_this, const char *psz_name ) static int GetUnused( vlc_object_t *p_this, const char *psz_name )
{ {
......
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