forked from AuroraMiddleware/gtk
Silence a compiler warning
Initialize the `nearest` variable.
This commit is contained in:
parent
fcd3321fa7
commit
7fe6510800
@ -2628,7 +2628,7 @@ gdk_display_get_monitor_at_point (GdkDisplay *display,
|
|||||||
int x,
|
int x,
|
||||||
int y)
|
int y)
|
||||||
{
|
{
|
||||||
GdkMonitor *nearest;
|
GdkMonitor *nearest = NULL;
|
||||||
int nearest_dist = G_MAXINT;
|
int nearest_dist = G_MAXINT;
|
||||||
int n_monitors, i;
|
int n_monitors, i;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user