diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-04-27 15:16:42 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-04-27 15:16:42 +0000 |
commit | 04d20b550dd1d00f18686ecd8ac95212aab8e109 (patch) | |
tree | 5008b77f6903160593363461a335d310f705f6ff /libvo | |
parent | c5a3a6d35d373e229fd1be233992fb13963495fa (diff) | |
download | mpv-04d20b550dd1d00f18686ecd8ac95212aab8e109.tar.bz2 mpv-04d20b550dd1d00f18686ecd8ac95212aab8e109.tar.xz |
Move "screen" variable declaration below the relevant #ifdef, fixes the warning:
libvo/x11_common.c:369: warning: unused variable 'screen'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31100 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/x11_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 525772ace1..6a0ad3776e 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -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; |