[vlc-devel] commit: Remove unused variables. ( Rémi Duraffort )

git version control git at videolan.org
Sat Jun 28 22:33:42 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Jun 28 22:35:49 2008 +0200| [275d5450c79bea01965abfe218decd1cdedcfe5b]

Remove unused variables.

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

 modules/video_output/sdl.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/modules/video_output/sdl.c b/modules/video_output/sdl.c
index 97f326c..f39a58c 100644
--- a/modules/video_output/sdl.c
+++ b/modules/video_output/sdl.c
@@ -432,9 +432,6 @@ static int Manage( vout_thread_t *p_vout )
             {
             case SDL_BUTTON_LEFT:
                 {
-                    playlist_t *p_playlist;
-                    vlc_value_t val;
-
                     var_Get( p_vout, "mouse-button-down", &val );
                     val.i_int &= ~1;
                     var_Set( p_vout, "mouse-button-down", val );
@@ -449,8 +446,6 @@ static int Manage( vout_thread_t *p_vout )
 
             case SDL_BUTTON_MIDDLE:
                 {
-                    playlist_t *p_playlist;
-
                     var_Get( p_vout, "mouse-button-down", &val );
                     val.i_int &= ~2;
                     var_Set( p_vout, "mouse-button-down", val );
@@ -465,7 +460,6 @@ static int Manage( vout_thread_t *p_vout )
             case SDL_BUTTON_RIGHT:
                 {
                     intf_thread_t *p_intf;
-                    playlist_t *p_playlist;
 
                     var_Get( p_vout, "mouse-button-down", &val );
                     val.i_int &= ~4;




More information about the vlc-devel mailing list