From 45f799eb8632142a31d1dbf3572c2672bb36c747 Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Fri, 27 Jan 2006 16:34:03 +0000 Subject: Make this place a bit more quiet svn path=/trunk/; revision=31328 --- plugins/itip-formatter/itip-formatter.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/itip-formatter/itip-formatter.c') diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 4d88964174..a3baaad25e 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -447,6 +447,7 @@ find_cal_opened_cb (ECal *ecal, ECalendarStatus status, gpointer data) if ((pitip->method == ICAL_METHOD_PUBLISH || pitip->method == ICAL_METHOD_REQUEST) && !pitip->current_ecal) { + /* Reuse already declared one or rename? */ ESource *source = NULL; char *uid; @@ -682,6 +683,7 @@ message_foreach_part (CamelMimePart *part, GSList **part_list) if (CAMEL_IS_MULTIPART (containee)) { parts = camel_multipart_get_number (CAMEL_MULTIPART (containee)); for (i = 0; go && i < parts; i++) { + /* Reuse already declared *parts? */ CamelMimePart *part = camel_multipart_get_part (CAMEL_MULTIPART (containee), i); message_foreach_part (part, part_list); @@ -964,6 +966,7 @@ update_attendee_status (FormatItipPObject *pitip) itip_strip_mailto (a->delfrom), itip_strip_mailto (a->value), NULL); if (response == GTK_RESPONSE_YES) { + /* Already declared in this function */ icalproperty *prop = find_attendee (icalcomp, itip_strip_mailto (a->value)); icalcomponent_add_property (icalcomp,icalproperty_new_clone (prop)); e_cal_component_rescan (comp); @@ -992,6 +995,7 @@ update_attendee_status (FormatItipPObject *pitip) goto cleanup; } else { if (a->status == ICAL_PARTSTAT_DELEGATED) { + /* *prop already declared in this function */ icalproperty *prop, *new_prop; prop = find_attendee (icalcomp, itip_strip_mailto (a->value)); @@ -1413,9 +1417,7 @@ view_response_cb (GtkWidget *widget, ItipViewResponse response, gpointer data) if (itip_view_get_rsvp (ITIP_VIEW (pitip->view)) && status) { ECalComponent *comp = NULL; - ECalComponentVType vtype; icalcomponent *ical_comp; - icalproperty *prop; icalvalue *value; const char *attendee, *comment; GSList *l, *list = NULL; @@ -1425,8 +1427,6 @@ view_response_cb (GtkWidget *widget, ItipViewResponse response, gpointer data) if (comp == NULL) return; - vtype = e_cal_component_get_vtype (comp); - if (pitip->my_address == NULL) find_my_address (pitip, pitip->ical_comp, NULL); g_assert (pitip->my_address != NULL); @@ -1504,7 +1504,6 @@ check_is_instance (icalcomponent *icalcomp) x_name = icalproperty_get_x_name (icalprop); if (!strcmp (x_name, "X-GW-RECURRENCE-KEY")) { return TRUE; - break; } icalprop = icalcomponent_get_next_property (icalcomp, ICAL_X_PROPERTY); } @@ -1776,6 +1775,7 @@ format_itip_object (EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObject CamelFolder *folder; CamelURL *url; char *uri; + /* *l is already declared in this function */ GSList *groups, *l; ESource *source = NULL; gboolean found = FALSE; -- cgit v1.2.3