Commit 6e708ae5 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

Revert "stats: Don't crash if there is no timer to dump."

This reverts commit 8fe54e49.

No need for that one, now that Rafael handles it in DumpTimer directly.
parent cf4026c9
...@@ -376,7 +376,7 @@ void __stats_TimerDump( vlc_object_t *p_obj, unsigned int i_id ) ...@@ -376,7 +376,7 @@ void __stats_TimerDump( vlc_object_t *p_obj, unsigned int i_id )
break; break;
} }
} }
if( p_counter ) TimerDump( p_obj, p_counter, true ); TimerDump( p_obj, p_counter, true );
vlc_mutex_unlock( &priv->timer_lock ); vlc_mutex_unlock( &priv->timer_lock );
} }
......
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