mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-18 21:55:22 -04:00
dir: remove unused variable passed to g_file_enumerator_iterate
This commit is contained in:
committed by
Simon McVittie
parent
9c0c9cb4fb
commit
076780c625
@@ -3951,11 +3951,10 @@ _flatpak_dir_find_new_flatpakrepos (FlatpakDir *self, OstreeRepo *repo)
|
||||
while (TRUE)
|
||||
{
|
||||
GFileInfo *file_info;
|
||||
GFile *path;
|
||||
const char *name;
|
||||
guint32 type;
|
||||
|
||||
if (!g_file_enumerator_iterate (dir_enum, &file_info, &path,
|
||||
if (!g_file_enumerator_iterate (dir_enum, &file_info, NULL,
|
||||
NULL, &my_error))
|
||||
{
|
||||
g_info ("Unexpected error reading file in %s: %s",
|
||||
|
||||
Reference in New Issue
Block a user