diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-08-31 13:23:59 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-08-31 13:24:17 -0400 |
commit | d4d12171f413bb9ce35a002711ce2eae69f77a52 (patch) | |
tree | f99a4a691df120e5766d2fac776b36dd4a1f56bc | |
parent | 21e484731a252dee16e6a335665e645bef0d6861 (diff) | |
download | gtk+-d4d12171f413bb9ce35a002711ce2eae69f77a52.tar.gz |
Avoid a pointless goto
We can just return here.
-rw-r--r-- | gtk/gtkapplication-dbus.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkapplication-dbus.c b/gtk/gtkapplication-dbus.c index 3c241ca7b0..a1f6eb0c3a 100644 --- a/gtk/gtkapplication-dbus.c +++ b/gtk/gtkapplication-dbus.c @@ -436,7 +436,7 @@ gtk_application_impl_dbus_startup (GtkApplicationImpl *impl, { g_debug ("Failed to get an inhibit portal proxy: %s", error->message); g_clear_error (&error); - goto end; + return; } if (register_session) @@ -471,8 +471,6 @@ gtk_application_impl_dbus_startup (GtkApplicationImpl *impl, g_free (token); } } - -end:; } static void |