Commit 3663b861 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

We have a replacement for localtime_r

parent f5112afb
...@@ -715,7 +715,6 @@ void input_item_SetEpg( input_item_t *p_item, ...@@ -715,7 +715,6 @@ void input_item_SetEpg( input_item_t *p_item,
{ {
input_item_DelInfo( p_item, psz_epg, NULL ); input_item_DelInfo( p_item, psz_epg, NULL );
#ifdef HAVE_LOCALTIME_R
vlc_mutex_lock( &p_item->lock ); vlc_mutex_lock( &p_item->lock );
for( int i = 0; i < p_epg->i_event; i++ ) for( int i = 0; i < p_epg->i_event; i++ )
{ {
...@@ -748,9 +747,6 @@ void input_item_SetEpg( input_item_t *p_item, ...@@ -748,9 +747,6 @@ void input_item_SetEpg( input_item_t *p_item,
event.type = vlc_InputItemInfoChanged; event.type = vlc_InputItemInfoChanged;
vlc_event_send( &p_item->event_manager, &event ); vlc_event_send( &p_item->event_manager, &event );
} }
#else
VLC_UNUSED( p_epg );
#endif
} }
......
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