dir: remove unused variable passed to g_file_enumerator_iterate

This commit is contained in:
Pablo Correa Gómez
2024-02-14 00:14:10 +01:00
committed by Simon McVittie
parent 9c0c9cb4fb
commit 076780c625

View File

@@ -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",