Commit 381f286d authored by Rémi Duraffort's avatar Rémi Duraffort

Fix warnings.

parent 24adfd98
...@@ -81,6 +81,7 @@ static void entry_group_callback( AvahiEntryGroup *g, ...@@ -81,6 +81,7 @@ static void entry_group_callback( AvahiEntryGroup *g,
AvahiEntryGroupState state, AvahiEntryGroupState state,
void *userdata ) void *userdata )
{ {
(void)g;
bonjour_t *p_sys = (bonjour_t *)userdata; bonjour_t *p_sys = (bonjour_t *)userdata;
if( state == AVAHI_ENTRY_GROUP_ESTABLISHED ) if( state == AVAHI_ENTRY_GROUP_ESTABLISHED )
...@@ -272,7 +273,7 @@ error: ...@@ -272,7 +273,7 @@ error:
if( p_sys->psz_txt != NULL ) if( p_sys->psz_txt != NULL )
avahi_free( p_sys->psz_txt ); avahi_free( p_sys->psz_txt );
free( (void *)p_sys ); free( p_sys );
return NULL; return NULL;
} }
......
...@@ -324,7 +324,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -324,7 +324,7 @@ static int Open( vlc_object_t *p_this )
? "_vlc-http._tcp" : "_vlc-https._tcp", ? "_vlc-http._tcp" : "_vlc-https._tcp",
psz_name, i_bind_port, psz_txt ); psz_name, i_bind_port, psz_txt );
free( psz_uri ); free( psz_uri );
free( (void *)psz_txt ); free( psz_txt );
if( p_sys->p_bonjour == NULL ) if( p_sys->p_bonjour == NULL )
msg_Err( p_access, "unable to start requested Bonjour announce" ); msg_Err( p_access, "unable to start requested Bonjour announce" );
...@@ -448,6 +448,7 @@ static ssize_t Write( sout_access_out_t *p_access, block_t *p_buffer ) ...@@ -448,6 +448,7 @@ static ssize_t Write( sout_access_out_t *p_access, block_t *p_buffer )
*****************************************************************************/ *****************************************************************************/
static int Seek( sout_access_out_t *p_access, off_t i_pos ) static int Seek( sout_access_out_t *p_access, off_t i_pos )
{ {
(void)i_pos;
msg_Warn( p_access, "HTTP sout access cannot seek" ); msg_Warn( p_access, "HTTP sout access cannot seek" );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
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