[vlc-devel] commit: Unused variable ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Feb 15 15:08:23 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Feb 15 16:07:53 2009 +0200| [1fdf055efb46e35169d00d2eb9ace97666dbb7b0] | committer: Rémi Denis-Courmont 

Unused variable

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

 modules/video_output/x11/xcommon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/x11/xcommon.c b/modules/video_output/x11/xcommon.c
index 281887f..dd976ed 100644
--- a/modules/video_output/x11/xcommon.c
+++ b/modules/video_output/x11/xcommon.c
@@ -2109,7 +2109,6 @@ static void FreePicture( vout_thread_t *p_vout, picture_t *p_pic )
 static void ToggleFullScreen ( vout_thread_t *p_vout )
 {
     Atom prop;
-    XEvent xevent;
     mwmhints_t mwmhints;
     XSetWindowAttributes attributes;
 
@@ -2403,6 +2402,7 @@ static void ToggleFullScreen ( vout_thread_t *p_vout )
      * the call is first redirected to the window manager) */
 
 #if BADFS // RASTER: this is silly... if we have already mapped before
+    XEvent xevent;
     do
     {
         XWindowEvent( p_vout->p_sys->p_display,




More information about the vlc-devel mailing list