From d4d12171f413bb9ce35a002711ce2eae69f77a52 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 31 Aug 2018 13:23:59 -0400 Subject: [PATCH] Avoid a pointless goto We can just return here. --- gtk/gtkapplication-dbus.c | 4 +--- 1 file changed, 1 insertion(+), 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