mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(task_database) Use task_init
This commit is contained in:
parent
2d99cdcbf3
commit
34be5862ee
2 changed files with 1 additions and 2 deletions
|
@ -835,7 +835,6 @@ retro_task_t *task_init(void)
|
|||
retro_task_t *task = (retro_task_t*)calloc(1, sizeof(*task));
|
||||
|
||||
task->ident = task_get_next_ident();
|
||||
task->frontend_userdata = NULL;
|
||||
|
||||
return task;
|
||||
}
|
||||
|
|
|
@ -1355,7 +1355,7 @@ bool task_push_dbscan(
|
|||
bool db_dir_show_hidden_files,
|
||||
retro_task_callback_t cb)
|
||||
{
|
||||
retro_task_t *t = (retro_task_t*)calloc(1, sizeof(*t));
|
||||
retro_task_t *t = task_init();
|
||||
db_handle_t *db = (db_handle_t*)calloc(1, sizeof(db_handle_t));
|
||||
|
||||
if (!t || !db)
|
||||
|
|
Loading…
Add table
Reference in a new issue