Remove unused variables

tingping/wmclass
Alexander Larsson 2016-01-19 12:37:51 +01:00
parent 2c08cdc4e0
commit 071561637a
5 changed files with 0 additions and 9 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;