forked from AuroraMiddleware/gtk
Initialise out variable
Otherwise we might return an undefined value, and the compiler will be very cross at us.
This commit is contained in:
parent
c06a08d63a
commit
02ac7ff0aa
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user