Fix lots of warnings all over the place, make inbound buffers of FMOUT const.
[citadel.git] / webcit / calendar_tools.c
index b2c12afc70e28363714ea579d4c63001ec44c3b7..b6dd7390cb83ae9f6608ffd407d0e8867391919c 100644 (file)
@@ -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;