fix various incidents reported by CLANG Static analyzer:
[citadel.git] / webcit / tasks.c
index 42ae949ba5a4411f5b295885aaca9acf6134c471..25a638120b45374bcad4b6dc63a41daca1c1e66f 100644 (file)
@@ -181,12 +181,9 @@ void display_edit_individual_task(icalcomponent *supplied_vtodo, long msgnum, ch
        icalcomponent *vtodo;
        icalproperty *p;
        struct icaltimetype IcalTime;
-       time_t now;
        int created_new_vtodo = 0;
        icalproperty_status todoStatus;
 
-       now = time(NULL);
-
        if (supplied_vtodo != NULL) {
                vtodo = supplied_vtodo;