X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fical_subst.c;h=adb81f15a98f897e94743d7ca47e23aebfa1f3f8;hb=e137e363d46b643035a61a239178919126140225;hp=5f2393ff9cb95e8604504051feeeef2bca335065;hpb=1a19e41c9716df2a7c0eed1de7829b47e084ea95;p=citadel.git diff --git a/webcit/ical_subst.c b/webcit/ical_subst.c index 5f2393ff9..adb81f15a 100644 --- a/webcit/ical_subst.c +++ b/webcit/ical_subst.c @@ -272,8 +272,8 @@ void render_MIME_ICS_TPL(StrBuf *Target, WCTemplputParams *TP, StrBuf *FoundChar wc_mime_attachment *Mime = CTX(CTX_MIME_ATACH); icalproperty_method the_method = ICAL_METHOD_NONE; icalproperty *method = NULL; - icalcomponent *cal; - icalcomponent *c; + icalcomponent *cal = NULL; + icalcomponent *c = NULL; WCTemplputParams SubTP; WCTemplputParams SuperTP; @@ -538,7 +538,7 @@ int cond_ICalAttendeeState(StrBuf *Target, WCTemplputParams *TP) for (c = icalcomponent_get_first_component(cal, ICAL_ANY_COMPONENT); (c != 0); c = icalcomponent_get_next_component(cal, ICAL_ANY_COMPONENT)) { - /* Recursively process subcomponent * / + / * Recursively process subcomponent * / cal_process_object(Target, c, recursion_level+1, msgnum, cal_partnum); } */