X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fcalendar_tools.c;fp=webcit%2Fcalendar_tools.c;h=b6dd7390cb83ae9f6608ffd407d0e8867391919c;hb=a15ba5c1ede7c86a85d62ed5b539dcfc9f415bc1;hp=b2c12afc70e28363714ea579d4c63001ec44c3b7;hpb=587a7605c8942087efe2ae4b100acacf06d8a609;p=citadel.git diff --git a/webcit/calendar_tools.c b/webcit/calendar_tools.c index b2c12afc7..b6dd7390c 100644 --- a/webcit/calendar_tools.c +++ b/webcit/calendar_tools.c @@ -53,7 +53,6 @@ void display_icaltimetype_as_webform(struct icaltimetype *t, char *prefix, int d int i; time_t now; struct tm tm_now; - int this_year; time_t tt; struct tm tm; int all_day_event = 0; @@ -64,7 +63,6 @@ void display_icaltimetype_as_webform(struct icaltimetype *t, char *prefix, int d now = time(NULL); localtime_r(&now, &tm_now); - this_year = tm_now.tm_year + 1900; if (t == NULL) return; if (t->is_date) all_day_event = 1;