diff --git a/src/ui.c b/src/ui.c index 77731ff..b2bab4d 100644 --- a/src/ui.c +++ b/src/ui.c @@ -16,10 +16,10 @@ int main(void) { char taskname ; - int taskcreation_date; + int taskcreation_date = 0; int taskdeadline_date = 0; - int taskpriority; - int taskspare; + int taskpriority = 0; + int taskspare = 0; llist *list = NULL; Task *task = newTask(taskname, taskcreation_date, taskdeadline_date, taskpriority, taskspare);