mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
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 y)
|
||||
{
|
||||
GdkMonitor *nearest;
|
||||
GdkMonitor *nearest = NULL;
|
||||
int nearest_dist = G_MAXINT;
|
||||
int n_monitors, i;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user