From 367020d3ffc220ced07c93c3cc13841ed2a383ab Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 25 Jan 2010 12:48:31 +0000 Subject: there is no reasy why error would be NULL if e_book_get_self failed --- src/empathy-auto-salut-account-helper.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/empathy-auto-salut-account-helper.c b/src/empathy-auto-salut-account-helper.c index a5fbcf0c3..ad4d6cbc0 100644 --- a/src/empathy-auto-salut-account-helper.c +++ b/src/empathy-auto-salut-account-helper.c @@ -98,8 +98,7 @@ create_salut_account_settings (void) /* Get self EContact from EDS */ if (!e_book_get_self (&contact, &book, &error)) { - DEBUG ("Failed to get self econtact: %s", - error ? error->message : "No error given"); + DEBUG ("Failed to get self econtact: %s", error->message); g_error_free (error); return settings; } -- cgit v1.2.3