1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-02 21:12:23 +00:00

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
This commit is contained in:
diego 2010-04-27 15:16:42 +00:00
parent c5a3a6d35d
commit 04d20b550d

View File

@ -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;