Skip to content

Commit

Permalink
Fix uninitialized warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
TingPing committed Dec 11, 2023
1 parent f2b640c commit d599782
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/builder-manifest.c
Original file line number Diff line number Diff line change
Expand Up @@ -2669,9 +2669,9 @@ _cleanup_rename_mime_icons (BuilderManifest *self, GFile *app_root,
GError **error)
{
g_autoptr(GFile) icons_dir = g_file_resolve_relative_path (app_root, "share/icons");
g_autoptr(GFile) mime_dir;
g_autofree char *mime_basename;
g_autoptr(GFile) mime_file;
g_autoptr(GFile) mime_dir = NULL;
g_autofree char *mime_basename = NULL;
g_autoptr(GFile) mime_file = NULL;

for (char **current = self->rename_mime_icons; *current; current++)
if (!_rename_mime_icon (self, *current, icons_dir, error))
Expand Down

0 comments on commit d599782

Please sign in to comment.