[gnome-online-accounts] kerberos: Remove redundant branch



commit 03805474c7c43d73fe190d89403cfce71a60ae29
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Mon Jul 18 11:46:06 2016 +0200

    kerberos: Remove redundant branch
    
    https://bugzilla.gnome.org/show_bug.cgi?id=768845

 src/goabackend/goakerberosprovider.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/goabackend/goakerberosprovider.c b/src/goabackend/goakerberosprovider.c
index 2dd2d94..a708863 100644
--- a/src/goabackend/goakerberosprovider.c
+++ b/src/goabackend/goakerberosprovider.c
@@ -242,13 +242,8 @@ on_account_signed_in (GoaProvider   *provider,
                       GAsyncResult  *result,
                       SignInRequest *request)
 {
-  if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (result),
-                                             &request->error))
-    {
-      g_main_loop_quit (request->loop);
-      return;
-    }
-
+  g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (result),
+                                         &request->error))
   g_main_loop_quit (request->loop);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]