[evolution-data-server] Correct "may be used uninitialized" warning in imapx_query_auth_types_sync()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Correct "may be used uninitialized" warning in imapx_query_auth_types_sync()
- Date: Wed, 24 Jan 2018 08:32:15 +0000 (UTC)
commit 964db270703cb6e32cffb197988e7b152fd247c6
Author: Milan Crha <mcrha redhat com>
Date: Wed Jan 24 09:17:00 2018 +0100
Correct "may be used uninitialized" warning in imapx_query_auth_types_sync()
src/camel/providers/imapx/camel-imapx-store.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/camel/providers/imapx/camel-imapx-store.c b/src/camel/providers/imapx/camel-imapx-store.c
index 9d4e4d6..e8302e3 100644
--- a/src/camel/providers/imapx/camel-imapx-store.c
+++ b/src/camel/providers/imapx/camel-imapx-store.c
@@ -1080,7 +1080,7 @@ imapx_query_auth_types_sync (CamelService *service,
GError **error)
{
CamelIMAPXStore *imapx_store;
- GList *sasl_types;
+ GList *sasl_types = NULL;
CamelIMAPXServer *server;
const struct _capability_info *cinfo;
@@ -1096,8 +1096,6 @@ imapx_query_auth_types_sync (CamelService *service,
cinfo = camel_imapx_server_get_capability_info (server);
- sasl_types = NULL;
-
if (cinfo && cinfo->auth_types) {
GHashTableIter iter;
gpointer key;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]