[evolution/wip/gsettings] Bug #634088 - Uses uninitialized variable in action_contact_new_cb



commit 64fe66dc6b91e3481b19f1ae2e58f5370c7ab8fd
Author: Milan Crha <mcrha redhat com>
Date:   Fri Nov 5 16:35:57 2010 +0100

    Bug #634088 - Uses uninitialized variable in action_contact_new_cb

 modules/addressbook/e-book-shell-backend.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/addressbook/e-book-shell-backend.c b/modules/addressbook/e-book-shell-backend.c
index aecc93e..1688d36 100644
--- a/modules/addressbook/e-book-shell-backend.c
+++ b/modules/addressbook/e-book-shell-backend.c
@@ -221,7 +221,7 @@ action_contact_new_cb (GtkAction *action,
 	EShellBackend *shell_backend;
 	GConfClient *client;
 	ESourceList *source_list;
-	ESource *source;
+	ESource *source = NULL;
 	const gchar *action_name;
 	const gchar *key;
 	gchar *uid;



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