[evolution-couchdb] Make sure uuid is not used without being initialized



commit e2e3c140b0c67f066e1d5a8e93296e64c7a2aa52
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Thu Apr 14 10:37:19 2011 +0200

    Make sure uuid is not used without being initialized

 addressbook/e-book-backend-couchdb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/e-book-backend-couchdb.c b/addressbook/e-book-backend-couchdb.c
index cb31918..033c1b8 100644
--- a/addressbook/e-book-backend-couchdb.c
+++ b/addressbook/e-book-backend-couchdb.c
@@ -630,7 +630,7 @@ contact_postal_address_to_struct_field (EContact *contact, EContactField field,
 static CouchdbStructField *
 contact_url_to_struct_field (EVCardAttribute *attr, const gchar *description)
 {
-	const gchar *address, *uuid;
+	const gchar *address, *uuid = NULL;
 	GList *params, *pl;
 
 	address = e_vcard_attribute_get_value (attr);



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