Commit 7ec73fa9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Kill warnings of unused variables in audio_*

parent f4614367
......@@ -76,6 +76,8 @@ static int Create( vlc_object_t *p_this )
*****************************************************************************/
static void DoWork( aout_instance_t * p_aout, aout_buffer_t * p_buffer )
{
VLC_UNUSED( p_buffer );
int i = 0;
aout_input_t * p_input = p_aout->pp_inputs[i];
while ( p_input->b_error || p_input->b_paused )
......
......@@ -1148,7 +1148,7 @@ static int VolumeSet( aout_instance_t * p_aout, audio_volume_t i_volume )
static int ReloadWaveoutDevices( vlc_object_t *p_this, char const *psz_name,
vlc_value_t newval, vlc_value_t oldval, void *data )
{
int i;
VLC_UNUSED( newval ); VLC_UNUSED( oldval ); VLC_UNUSED( data );
module_config_t *p_item = config_FindConfig( p_this, psz_name );
if( !p_item ) return VLC_SUCCESS;
......@@ -1156,6 +1156,8 @@ static int ReloadWaveoutDevices( vlc_object_t *p_this, char const *psz_name,
/* Clear-up the current list */
if( p_item->i_list )
{
int i;
/* Keep the first entry */
for( i = 1; i < p_item->i_list; i++ )
{
......
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