Skip to content

Commit

Permalink
chore: Drop extraneous error header when opening $Recycle.bin
Browse files Browse the repository at this point in the history
g_dir_open() already uses the same error prefix itself.
  • Loading branch information
abelcheung committed Nov 25, 2023
1 parent f01e0f8 commit 1c95d33
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -909,10 +909,7 @@ _populate_index_file_list (GSList **list,
#endif

if (NULL == (dir = g_dir_open (path, 0, error)))
{
g_prefix_error (error, _("Error opening directory '%s': "), path);
return FALSE;
}

pattern1 = g_pattern_spec_new ("$I??????.*");
pattern2 = g_pattern_spec_new ("$I??????");
Expand Down

0 comments on commit 1c95d33

Please sign in to comment.