[empathy] Fix potential usage of an unitialized value



commit 733da7c7268c0c77b7cb39701b4f9f1f15d63fd2
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Sun Sep 13 11:10:47 2009 +0100

    Fix potential usage of an unitialized value

 src/empathy-import-mc4-accounts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-import-mc4-accounts.c b/src/empathy-import-mc4-accounts.c
index 968293b..17b7128 100644
--- a/src/empathy-import-mc4-accounts.c
+++ b/src/empathy-import-mc4-accounts.c
@@ -374,7 +374,7 @@ import_one_account (const char *path,
   GConfClient *client)
 {
   gchar *account_name = _account_name_from_key (path);
-  EmpathyAccountSettings *settings;
+  EmpathyAccountSettings *settings = NULL;
   GError *error = NULL;
   GSList *entries = NULL;
   gchar *profile = NULL;



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