mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +02: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:
@@ -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:
|
||||
;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user