Initialise out variable

Otherwise we might return an undefined value, and the compiler will be
very cross at us.
This commit is contained in:
Emmanuele Bassi 2020-01-29 11:34:11 +01:00
parent c06a08d63a
commit 02ac7ff0aa

View File

@ -303,7 +303,7 @@ gdk_broadway_device_surface_at_position (GdkDevice *device,
GdkModifierType *mask,
gboolean get_toplevel)
{
GdkSurface *surface;
GdkSurface *surface = NULL;
gdk_broadway_device_query_state (device, NULL, &surface, NULL, NULL, win_x, win_y, mask);