[MPlayer-cvslog] r31100 - trunk/libvo/x11_common.c

diego subversion at mplayerhq.hu
Tue Apr 27 17:16:43 CEST 2010


Author: diego
Date: Tue Apr 27 17:16:42 2010
New Revision: 31100

Log:
Move "screen" variable declaration below the relevant #ifdef, fixes the warning:
libvo/x11_common.c:369: warning: unused variable 'screen'

Modified:
   trunk/libvo/x11_common.c

Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	Tue Apr 27 15:33:29 2010	(r31099)
+++ trunk/libvo/x11_common.c	Tue Apr 27 17:16:42 2010	(r31100)
@@ -366,9 +366,9 @@ static void init_atoms(void)
 }
 
 void update_xinerama_info(void) {
-    int screen = xinerama_screen;
     xinerama_x = xinerama_y = 0;
 #ifdef CONFIG_XINERAMA
+    int screen = xinerama_screen;
     if (screen >= -1 && XineramaIsActive(mDisplay))
     {
         XineramaScreenInfo *screens;


More information about the MPlayer-cvslog mailing list