diff options
Diffstat (limited to 'calendar/gui/dialogs/memo-page.c')
-rw-r--r-- | calendar/gui/dialogs/memo-page.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c index 1fd9221a54..0e06d19316 100644 --- a/calendar/gui/dialogs/memo-page.c +++ b/calendar/gui/dialogs/memo-page.c @@ -605,12 +605,10 @@ fill_comp_with_recipients (ENameSelector *name_selector, for (l = list_dests; l; l = l->next) { EDestination *dest = l->data; - const gchar *attendee = NULL; + const gchar *attendee; - /* If we couldn't get the attendee prior, - * get the email address as the default. */ - if (attendee == NULL || *attendee == '\0') - attendee = e_destination_get_email (dest); + /* Get the email address as the default. */ + attendee = e_destination_get_email (dest); if (attendee == NULL || *attendee == '\0') continue; |