Cleanups
This commit is contained in:
parent
34be5862ee
commit
44b83cf353
|
@ -825,16 +825,11 @@ char* task_get_title(retro_task_t *task)
|
||||||
return title;
|
return title;
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint32_t task_get_next_ident(void)
|
|
||||||
{
|
|
||||||
return task_count++;
|
|
||||||
}
|
|
||||||
|
|
||||||
retro_task_t *task_init(void)
|
retro_task_t *task_init(void)
|
||||||
{
|
{
|
||||||
retro_task_t *task = (retro_task_t*)calloc(1, sizeof(*task));
|
retro_task_t *task = (retro_task_t*)calloc(1, sizeof(*task));
|
||||||
|
|
||||||
task->ident = task_get_next_ident();
|
task->ident = task_count++;
|
||||||
|
|
||||||
return task;
|
return task;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue