forked from Mirrors/flatpak-builder
Remove unused variables
parent
b5204c908d
commit
51663de427
|
@ -276,7 +276,6 @@ gboolean
|
|||
flatpak_complete_enter (FlatpakCompletion *completion)
|
||||
{
|
||||
g_autoptr(GOptionContext) context = NULL;
|
||||
g_autoptr(GError) error = NULL;
|
||||
|
||||
context = g_option_context_new ("");
|
||||
if (!flatpak_option_context_parse (context, options, &completion->argc, &completion->argv, FLATPAK_BUILTIN_FLAG_NO_DIR, NULL, NULL, NULL))
|
||||
|
|
|
@ -145,9 +145,7 @@ flatpak_builtin_install (int argc, char **argv, GCancellable *cancellable, GErro
|
|||
g_autofree char *ref = NULL;
|
||||
gboolean is_app;
|
||||
g_autoptr(GFile) deploy_dir = NULL;
|
||||
g_autoptr(GVariant) deploy_data = NULL;
|
||||
g_autoptr(GPtrArray) related = NULL;
|
||||
g_autoptr(GError) local_error = NULL;
|
||||
int i;
|
||||
|
||||
context = g_option_context_new ("REPOSITORY NAME [BRANCH] - Install an application or runtime");
|
||||
|
|
|
@ -3143,7 +3143,6 @@ flatpak_dir_install_bundle (FlatpakDir *self,
|
|||
g_autofree char *ref = NULL;
|
||||
gboolean added_remote = FALSE;
|
||||
g_autoptr(GFile) deploy_dir = NULL;
|
||||
g_autoptr(FlatpakDir) dir_clone = NULL;
|
||||
g_autoptr(GVariant) metadata = NULL;
|
||||
g_autofree char *origin = NULL;
|
||||
g_auto(GStrv) parts = NULL;
|
||||
|
@ -5326,8 +5325,6 @@ flatpak_dir_find_local_related (FlatpakDir *self,
|
|||
GCancellable *cancellable,
|
||||
GError **error)
|
||||
{
|
||||
g_autoptr(GBytes) summary_bytes = NULL;
|
||||
g_autoptr(GVariant) summary = NULL;
|
||||
g_autoptr(GFile) deploy_dir = NULL;
|
||||
g_autoptr(GFile) metadata = NULL;
|
||||
g_autofree char *metadata_contents = NULL;
|
||||
|
@ -5379,7 +5376,6 @@ flatpak_dir_find_local_related (FlatpakDir *self,
|
|||
g_autofree char *extension_ref = NULL;
|
||||
g_autofree char *prefixed_extension_ref = NULL;
|
||||
g_autofree char *checksum = NULL;
|
||||
g_autoptr(GVariant) deploy_data = NULL;
|
||||
|
||||
if (version)
|
||||
branch = version;
|
||||
|
@ -5405,7 +5401,6 @@ flatpak_dir_find_local_related (FlatpakDir *self,
|
|||
{
|
||||
const char *match = g_ptr_array_index (matches, j);
|
||||
g_autofree char *prefixed_match = NULL;
|
||||
g_autoptr(GVariant) ext_deploy_data = NULL;
|
||||
g_autofree char *match_checksum = NULL;
|
||||
|
||||
prefixed_match = g_strdup_printf ("%s:%s", remote_name, match);
|
||||
|
|
|
@ -681,8 +681,6 @@ portal_lookup (GDBusMethodInvocation *invocation,
|
|||
if (st_buf.st_dev == fuse_dev)
|
||||
{
|
||||
/* The passed in fd is on the fuse filesystem itself */
|
||||
g_autoptr(FlatpakDbEntry) old_entry = NULL;
|
||||
|
||||
id = xdp_fuse_lookup_id_for_inode (st_buf.st_ino);
|
||||
g_debug ("path on fuse, id %s", id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue