[evolution-data-server] Address two Clang warnings



commit 6c7dbc4dbfd0e9a43e4fcd95270068f0a694990b
Author: Milan Crha <mcrha redhat com>
Date:   Mon Sep 3 17:23:29 2018 +0200

    Address two Clang warnings

 src/libedataserver/e-oauth2-service.c                            | 1 +
 src/modules/gnome-online-accounts/module-gnome-online-accounts.c | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/src/libedataserver/e-oauth2-service.c b/src/libedataserver/e-oauth2-service.c
index 791fdc109..ac2eff406 100644
--- a/src/libedataserver/e-oauth2-service.c
+++ b/src/libedataserver/e-oauth2-service.c
@@ -922,6 +922,7 @@ eos_send_message (SoupSession *session,
                        success = TRUE;
                } else {
                        status_code = SOUP_STATUS_MALFORMED;
+                       g_set_error_literal (error, SOUP_HTTP_ERROR, status_code, _("Malformed, no message 
body set"));
                }
        } else if (status_code != SOUP_STATUS_CANCELLED) {
                GString *error_msg;
diff --git a/src/modules/gnome-online-accounts/module-gnome-online-accounts.c 
b/src/modules/gnome-online-accounts/module-gnome-online-accounts.c
index 1d5672d93..9bb994df1 100644
--- a/src/modules/gnome-online-accounts/module-gnome-online-accounts.c
+++ b/src/modules/gnome-online-accounts/module-gnome-online-accounts.c
@@ -1282,6 +1282,7 @@ gnome_online_accounts_create_client_cb (GObject *source_object,
                extension->goa_client, "account-swapped",
                G_CALLBACK (gnome_online_accounts_account_swapped_cb),
                extension);
+       extension->account_swapped_handler_id = handler_id;
 }
 
 static void


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