mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-19 22:31:29 -04:00
builder: Fix up unused variable warnings from clang
This commit is contained in:
1 parent
8b13d3c5ee
commit
8788f8a09e
3 files changed
-13
No files matched your search
@@ -134,7 +134,6 @@ static GFile *
|
||||
get_mirror_dir (BuilderSourceBzr *self, BuilderContext *context)
|
||||
{
|
||||
g_autoptr(GFile) bzr_dir = NULL;
|
||||
g_autoptr(GFile) dir = NULL;
|
||||
g_autofree char *filename = NULL;
|
||||
g_autofree char *bzr_dir_path = NULL;
|
||||
|
||||
@@ -277,9 +276,6 @@ builder_source_bzr_bundle (BuilderSource *source,
|
||||
g_autoptr(GFile) bzr_sources_dir = NULL;
|
||||
|
||||
g_autofree char *sources_dir_path = NULL;
|
||||
g_autofree char *dest_dir_path = NULL;
|
||||
g_autofree char *dest_dir_path_tmp = NULL;
|
||||
g_autofree char *bzr_sources_dir_path = NULL;
|
||||
|
||||
g_autofree char *base_name = NULL;
|
||||
g_autofree char *base_name_tmp = NULL;
|
||||
|
||||
@@ -255,8 +255,6 @@ builder_source_git_bundle (BuilderSource *source,
|
||||
|
||||
g_autofree char *location = NULL;
|
||||
g_autoptr(GFile) mirror_dir = NULL;
|
||||
g_autofree char *mirror_dir_path = NULL;
|
||||
g_autofree char *app_dir_path = NULL;
|
||||
|
||||
location = get_url_or_path (self, context, error);
|
||||
|
||||
|
||||
@@ -140,8 +140,6 @@ get_source_file (BuilderSourcePatch *self,
|
||||
BuilderContext *context,
|
||||
GError **error)
|
||||
{
|
||||
g_autoptr(GFile) patch = NULL;
|
||||
|
||||
GFile *base_dir = BUILDER_SOURCE (self)->base_dir;
|
||||
|
||||
if (self->path == NULL || self->path[0] == 0)
|
||||
@@ -267,12 +265,7 @@ builder_source_patch_bundle (BuilderSource *source,
|
||||
BuilderSourcePatch *self = BUILDER_SOURCE_PATCH (source);
|
||||
GFile *manifest_base_dir = builder_context_get_base_dir (context);
|
||||
g_autoptr(GFile) src = NULL;
|
||||
g_autoptr(GFile) patches_dir = NULL;
|
||||
g_autoptr(GFile) destination_file = NULL;
|
||||
g_autofree char *patches_dir_path = NULL;
|
||||
g_autofree char *file_name = NULL;
|
||||
g_autofree char *destination_file_path = NULL;
|
||||
g_autofree char *app_dir_path = NULL;
|
||||
g_autofree char *rel_path = NULL;
|
||||
g_autoptr(GFile) destination_dir = NULL;
|
||||
|
||||
|
||||
Reference in new issue
Block a user