mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 21:16:00 +01:00
Remove useless cast
This commit is contained in:
parent
67ef89b627
commit
8c245cd254
1 changed files with 2 additions and 2 deletions
|
@ -746,7 +746,7 @@ sqlite_io_read(GiraraInputHistoryIO* db)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
girara_list_t* list = girara_list_new2((girara_free_function_t) g_free);
|
||||
girara_list_t* list = girara_list_new2(g_free);
|
||||
if (list == NULL) {
|
||||
sqlite3_finalize(stmt);
|
||||
return NULL;
|
||||
|
@ -791,7 +791,7 @@ sqlite_get_recent_files(zathura_database_t* db, int max, const char* basepath)
|
|||
return false;
|
||||
}
|
||||
|
||||
girara_list_t* list = girara_list_new2((girara_free_function_t) g_free);
|
||||
girara_list_t* list = girara_list_new2(g_free);
|
||||
if (list == NULL) {
|
||||
sqlite3_finalize(stmt);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue