From 47a86abf50840c0755bbcf654380b2e2a6e289a2 Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Wed, 3 Mar 2004 22:21:15 +0000 Subject: Set error to NULL before using it. 2004-03-03 Hans Petter Jansson * gui/component/addressbook-component.c (delete_addressbook_cb): Set error to NULL before using it. svn path=/trunk/; revision=24953 --- addressbook/gui/component/addressbook-component.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui/component') diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c index b9b84e2cf4..1acba3fcec 100644 --- a/addressbook/gui/component/addressbook-component.c +++ b/addressbook/gui/component/addressbook-component.c @@ -208,7 +208,7 @@ delete_addressbook_cb (GtkWidget *widget, AddressbookComponent *comp) GtkWidget *dialog; EBook *book; gboolean removed = FALSE; - GError *error; + GError *error = NULL; priv = comp->priv; -- cgit v1.2.3