diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-15 23:16:25 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-16 10:50:05 +0800 |
commit | cae22334fa6bc395ccc421b09e0af94c89297c41 (patch) | |
tree | 84881f467c0448db044d8bb3533e044a7152bb2b /calendar/gui/itip-utils.c | |
parent | d37784ed3db20fd74ea4b8d9fdfe58518370cea2 (diff) | |
download | gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.gz gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.bz2 gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.lz gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.xz gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.zst gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.zip |
Remove dead assignments found by clang.
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r-- | calendar/gui/itip-utils.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index 7f1e0780d9..804f5e004a 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -632,12 +632,16 @@ comp_subject (ECalComponentItipMethod method, ECalComponent *comp) switch (e_cal_component_get_vtype (comp)) { case E_CAL_COMPONENT_EVENT: description = _("Event information"); + break; case E_CAL_COMPONENT_TODO: description = _("Task information"); + break; case E_CAL_COMPONENT_JOURNAL: description = _("Memo information"); + break; case E_CAL_COMPONENT_FREEBUSY: description = _("Free/Busy information"); + break; default: description = _("Calendar information"); } @@ -896,7 +900,6 @@ comp_limit_attendees (ECalComponent *comp) if (!match) list = g_slist_prepend (list, prop); - match = FALSE; } for (l = list; l != NULL; l = l->next) { @@ -1555,10 +1558,9 @@ itip_publish_begin (ECalComponent *pub_comp, ECal *client, if (e_cal_component_get_vtype (pub_comp) == E_CAL_COMPONENT_FREEBUSY) { - if (!cloned) { + if (!cloned) *clone = e_cal_component_clone (pub_comp); - cloned = TRUE; - } else { + else { icomp = e_cal_component_get_icalcomponent (pub_comp); icomp_clone = e_cal_component_get_icalcomponent (*clone); |