]> git.sesse.net Git - vlc/commitdiff
fix compiler warnings in modules/video_output/fb.c
authorJean-Paul Saman <jpsaman@videolan.org>
Wed, 13 Aug 2008 03:16:36 +0000 (11:16 +0800)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Wed, 27 Aug 2008 12:44:31 +0000 (14:44 +0200)
modules/video_output/fb.c

index 95ea2fe1a317b5df5284080e885488a52eb07b65..2512548511dd579c99aa5374231f65595328b502 100644 (file)
@@ -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;