mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
gdbusconnection: Simplify some control flow
This removes an unhelpful `goto`. It introduces no functional changes. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
bcee182a49
commit
1a51681e6d
@ -255,7 +255,7 @@ call_destroy_notify (GMainContext *context,
|
||||
CallDestroyNotifyData *data;
|
||||
|
||||
if (callback == NULL)
|
||||
goto out;
|
||||
return;
|
||||
|
||||
data = g_new0 (CallDestroyNotifyData, 1);
|
||||
data->callback = callback;
|
||||
@ -270,9 +270,6 @@ call_destroy_notify (GMainContext *context,
|
||||
g_source_set_name (idle_source, "[gio] call_destroy_notify_data_in_idle");
|
||||
g_source_attach (idle_source, context);
|
||||
g_source_unref (idle_source);
|
||||
|
||||
out:
|
||||
;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user