[vlc-devel] commit: Pulse: kill unused variable warnings (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Dec 16 11:27:14 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec 16 10:30:12 2009 +0100| [94d22180c0afcd6f4f7cf45c9e23b091f728f4eb] | committer: Jean-Baptiste Kempf 

Pulse: kill unused variable warnings

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=94d22180c0afcd6f4f7cf45c9e23b091f728f4eb
---

 modules/audio_output/pulse.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index 8ef0eda..a2ccfbc 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -433,6 +433,7 @@ static void stream_state_cb(pa_stream *s, void * userdata) {
 }
 
 static void stream_request_cb(pa_stream *s, size_t length, void *userdata) {
+    VLC_UNUSED( s );
     aout_instance_t *p_aout = (aout_instance_t *)userdata;
     struct aout_sys_t * p_sys = (struct aout_sys_t *) p_aout->output.p_sys;
     mtime_t next_date;
@@ -486,6 +487,7 @@ static void stream_request_cb(pa_stream *s, size_t length, void *userdata) {
 }
 
 static void stream_latency_update_cb(pa_stream *s, void *userdata) {
+    VLC_UNUSED( s );
     aout_instance_t *p_aout = (aout_instance_t *)userdata;
     struct aout_sys_t * p_sys = (struct aout_sys_t *) p_aout->output.p_sys;
 
@@ -498,6 +500,7 @@ static void stream_latency_update_cb(pa_stream *s, void *userdata) {
 
 static void success_cb(pa_stream *s, int sucess, void *userdata)
 {
+    VLC_UNUSED( s );
     aout_instance_t *p_aout = (aout_instance_t *)userdata;
     struct aout_sys_t * p_sys = (struct aout_sys_t *) p_aout->output.p_sys;
 




More information about the vlc-devel mailing list