[vlc-devel] commit: Portaudio: kills warnings. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Apr 26 12:56:55 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Apr 26 12:56:42 2009 +0200| [0da140234d93da6687f79a2a077a4fefeeee9298] | committer: Jean-Baptiste Kempf 

Portaudio: kills warnings.

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

 modules/audio_output/portaudio.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/audio_output/portaudio.c b/modules/audio_output/portaudio.c
index 2461057..f73ce9b 100644
--- a/modules/audio_output/portaudio.c
+++ b/modules/audio_output/portaudio.c
@@ -279,7 +279,6 @@ static void Close ( vlc_object_t *p_this )
 {
     aout_instance_t *p_aout = (aout_instance_t *)p_this;
     aout_sys_t *p_sys = p_aout->output.p_sys;
-    int i_err;
 
     msg_Dbg( p_aout, "closing portaudio");
 
@@ -300,7 +299,7 @@ static void Close ( vlc_object_t *p_this )
 
 #else
 
-    i_err = Pa_StopStream( p_sys->p_stream );
+    int i_err = Pa_StopStream( p_sys->p_stream );
     if( i_err != paNoError )
     {
         msg_Err( p_aout, "Pa_StopStream: %d (%s)", i_err,
@@ -556,6 +555,7 @@ static int PAOpenStream( aout_instance_t *p_aout )
  *****************************************************************************/
 static void Play( aout_instance_t * p_aout )
 {
+    VLC_UNUSED( p_aout );
 }
 
 #ifdef PORTAUDIO_IS_SERIOUSLY_BROKEN




More information about the vlc-devel mailing list