Commit 0d4e25c3 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Audiobar: remove unused variable

If you don't actually use the return of a function, don't store it.
parent a0ce67b6
...@@ -195,7 +195,6 @@ static block_t *DoWork( filter_t *p_filter, block_t *p_in_buf ) ...@@ -195,7 +195,6 @@ static block_t *DoWork( filter_t *p_filter, block_t *p_in_buf )
ValueDate_t* current = NULL; ValueDate_t* current = NULL;
float sum; float sum;
int count = 0; int count = 0;
int i_ret;
nbChannels = aout_FormatNbChannels( &p_filter->fmt_in.audio ); nbChannels = aout_FormatNbChannels( &p_filter->fmt_in.audio );
p_sys->nbChannels = nbChannels; p_sys->nbChannels = nbChannels;
...@@ -293,7 +292,7 @@ static block_t *DoWork( filter_t *p_filter, block_t *p_in_buf ) ...@@ -293,7 +292,7 @@ static block_t *DoWork( filter_t *p_filter, block_t *p_in_buf )
//test = send(p_sys->TCPconnection,message,strlen(message),0); //test = send(p_sys->TCPconnection,message,strlen(message),0);
//net_Write(p_filter, p_sys->TCPconnection, NULL, message, strlen(message)); //net_Write(p_filter, p_sys->TCPconnection, NULL, message, strlen(message));
i_ret= net_Write(p_filter, p_sys->TCPconnection, NULL, message, strlen(message)); net_Write(p_filter, p_sys->TCPconnection, NULL, message, strlen(message));
} }
} }
......
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