Avoid unused variable warnings

This commit is contained in:
Matthias Clasen 2017-03-23 16:15:00 +00:00
parent e171f4930b
commit 6963d9e2ee

View File

@ -919,6 +919,7 @@ _gdk_x11_screen_get_edge_monitors (GdkScreen *screen,
gint *left,
gint *right)
{
#ifdef HAVE_XFREE_XINERAMA
GdkX11Screen *x11_screen = GDK_X11_SCREEN (screen);
GdkWindow *root_window = gdk_screen_get_root_window (screen);
gint top_most_pos = gdk_window_get_height (root_window);
@ -926,7 +927,6 @@ _gdk_x11_screen_get_edge_monitors (GdkScreen *screen,
gint bottom_most_pos = 0;
gint right_most_pos = 0;
gint i;
#ifdef HAVE_XFREE_XINERAMA
XineramaScreenInfo *x_monitors;
int x_n_monitors;
#endif