diff --git a/app/xdg-app-builtins-build-export.c b/app/xdg-app-builtins-build-export.c index 200eab8f..83f9f282 100644 --- a/app/xdg-app-builtins-build-export.c +++ b/app/xdg-app-builtins-build-export.c @@ -210,12 +210,10 @@ xdg_app_builtin_build_export (int argc, char **argv, GCancellable *cancellable, g_autoptr(GOptionContext) context = NULL; g_autoptr(GFile) base = NULL; g_autoptr(GFile) files = NULL; - g_autoptr(GFile) alt_files = NULL; g_autoptr(GFile) usr = NULL; g_autoptr(GFile) metadata = NULL; g_autoptr(GFile) export = NULL; g_autoptr(GFile) repofile = NULL; - g_autoptr(GFile) arg = NULL; g_autoptr(GFile) root = NULL; g_autoptr(OstreeRepo) repo = NULL; const char *location; diff --git a/app/xdg-app-builtins-list.c b/app/xdg-app-builtins-list.c index 9dd6b32f..921e03e4 100644 --- a/app/xdg-app-builtins-list.c +++ b/app/xdg-app-builtins-list.c @@ -124,7 +124,6 @@ print_installed_refs (gboolean app, gboolean runtime, gboolean print_system, gbo g_autofree char *repo = NULL; gboolean is_user; g_autoptr(XdgAppDir) dir = NULL; - g_autoptr(GError) error = NULL; if (system[s] == NULL) is_user = TRUE; diff --git a/builder/builder-cache.c b/builder/builder-cache.c index 1ec521fb..78b1bbfc 100644 --- a/builder/builder-cache.c +++ b/builder/builder-cache.c @@ -220,8 +220,6 @@ gboolean builder_cache_open (BuilderCache *self, GError **error) { - g_autoptr(GHashTable) all_refs = NULL; - self->repo = ostree_repo_new (self->cache_dir); /* We don't need fsync on checkouts as they are transient, and we @@ -523,7 +521,6 @@ builder_cache_get_all_changes (BuilderCache *self, g_autoptr(GPtrArray) all_paths = g_ptr_array_new_with_free_func (g_free); g_autoptr(GFile) init_root = NULL; g_autoptr(GFile) finish_root = NULL; - g_autoptr(GVariant) variant = NULL; g_autofree char *init_commit = NULL; g_autofree char *finish_commit = NULL; int i; diff --git a/builder/builder-module.c b/builder/builder-module.c index fe36920e..489538ca 100644 --- a/builder/builder-module.c +++ b/builder/builder-module.c @@ -554,8 +554,6 @@ build (GFile *app_dir, g_autofree char *commandline = NULL; g_autofree char *source_dir_path = g_file_get_path (source_dir); g_autofree char *source_dir_path_canonical = NULL; - g_autofree char *cwd_dir_path = NULL; - g_autofree char *cwd_dir_path_canonical = NULL; g_autofree char *ccache_dir_path = NULL; va_list ap; int i; diff --git a/common/xdg-app-run.c b/common/xdg-app-run.c index efebb66d..4eed256a 100644 --- a/common/xdg-app-run.c +++ b/common/xdg-app-run.c @@ -2085,7 +2085,6 @@ xdg_app_run_app (const char *app_ref, g_autoptr(GFile) app_files = NULL; g_autoptr(GFile) runtime_files = NULL; g_autoptr(GFile) app_id_dir = NULL; - g_autofree char *runtime = NULL; g_autofree char *default_runtime = NULL; g_autofree char *default_command = NULL; g_autofree char *runtime_ref = NULL;