# HG changeset patch # User diego # Date 1272381402 0 # Node ID b80e4d240178978f99199669b6ebaded92d49b06 # Parent f42dfee67f636c8c1ba74766de601b07215dd69e Move "screen" variable declaration below the relevant #ifdef, fixes the warning: libvo/x11_common.c:369: warning: unused variable 'screen' diff -r f42dfee67f63 -r b80e4d240178 libvo/x11_common.c --- 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;