From c0e0fe31efb2d55af3591da7f1b5ed38b07f4541 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 6 Oct 2016 12:14:26 +0200 Subject: [PATCH] utils: Remove unused variable --- builder/builder-utils.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/builder/builder-utils.c b/builder/builder-utils.c index 62e714732..4fef37d49 100644 --- a/builder/builder-utils.c +++ b/builder/builder-utils.c @@ -273,11 +273,8 @@ migrate_locale_dir (GFile *source_dir, while ((next = g_file_enumerator_next_file (dir_enum, NULL, &temp_error))) { g_autoptr(GFileInfo) child_info = next; - g_autoptr(GFile) child = NULL; g_autoptr(GFile) locale_subdir = NULL; - child = g_file_get_child (source_dir, g_file_info_get_name (child_info)); - if (g_file_info_get_file_type (child_info) == G_FILE_TYPE_DIRECTORY) { g_autoptr(GFile) child = NULL;