[vlc-commits] Audiobar: remove unused variable
Jean-Baptiste Kempf
git at videolan.org
Thu Sep 29 15:31:46 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 29 14:44:36 2011 +0200| [0d4e25c3d8bce2c7499f7fdd6745d918bcaa089e] | committer: Jean-Baptiste Kempf
Audiobar: remove unused variable
If you don't actually use the return of a function, don't store it.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0d4e25c3d8bce2c7499f7fdd6745d918bcaa089e
---
modules/audio_filter/audiobargraph_a.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/audio_filter/audiobargraph_a.c b/modules/audio_filter/audiobargraph_a.c
index 3c878a2..82084fb 100644
--- a/modules/audio_filter/audiobargraph_a.c
+++ b/modules/audio_filter/audiobargraph_a.c
@@ -195,7 +195,6 @@ static block_t *DoWork( filter_t *p_filter, block_t *p_in_buf )
ValueDate_t* current = NULL;
float sum;
int count = 0;
- int i_ret;
nbChannels = aout_FormatNbChannels( &p_filter->fmt_in.audio );
p_sys->nbChannels = nbChannels;
@@ -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);
//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));
}
}
More information about the vlc-commits
mailing list