changeset 31058:b80e4d240178

Move "screen" variable declaration below the relevant #ifdef, fixes the warning: libvo/x11_common.c:369: warning: unused variable 'screen'
author diego
date Tue, 27 Apr 2010 15:16:42 +0000
parents f42dfee67f63
children aaaef13c84b9
files libvo/x11_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Tue Apr 27 13:33:29 2010 +0000
+++ b/libvo/x11_common.c	Tue Apr 27 15:16:42 2010 +0000
@@ -366,9 +366,9 @@
 }
 
 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;