[vlc-devel] commit: fix compiler warnings in modules/video_output/fb.c ( Jean-Paul Saman )

git version control git at videolan.org
Wed Aug 27 14:48:24 CEST 2008


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Wed Aug 13 11:16:36 2008 +0800| [df1fe67b6dcabbc436a18cba381b580b7a78faeb] | committer: Jean-Paul Saman 

fix compiler warnings in modules/video_output/fb.c

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

 modules/video_output/fb.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/fb.c b/modules/video_output/fb.c
index 95ea2fe..2512548 100644
--- a/modules/video_output/fb.c
+++ b/modules/video_output/fb.c
@@ -466,6 +466,7 @@ static int NewPicture( vout_thread_t *p_vout, picture_t *p_pic )
  *****************************************************************************/
 static void FreePicture( vout_thread_t *p_vout, picture_t *p_pic )
 {
+    VLC_UNUSED(p_vout);
     free( p_pic->p_sys->p_data );
     free( p_pic->p_sys );
     p_pic->p_sys = NULL;
@@ -557,7 +558,7 @@ static int Init( vout_thread_t *p_vout )
             /* Find an empty picture slot */
             for( i_index = 0 ; i_index < VOUT_MAX_PICTURES ; i_index++ )
             {
-            if( p_vout->p_picture[ i_index ].i_status == FREE_PICTURE )
+                if( p_vout->p_picture[ i_index ].i_status == FREE_PICTURE )
                 {
                     p_pic = p_vout->p_picture + i_index;
                     break;
@@ -978,6 +979,7 @@ static void CloseDisplay( vout_thread_t *p_vout )
  *****************************************************************************/
 static void SwitchDisplay( int i_signal )
 {
+    VLC_UNUSED( i_signal );
 #if 0
     vout_thread_t *p_vout;
 




More information about the vlc-devel mailing list