summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-16 16:25:09 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-16 16:25:09 +0200
commitb24aff6580e8a9b2c6fcee06f6c36aad33be0923 (patch)
tree2dba6a52eb41ffcd087fcf11a05600b1ea796668
parentd1d73bd2b26c14d1f9b5f413472ea497e3c0b07a (diff)
downloadxdg-app-b24aff6580e8a9b2c6fcee06f6c36aad33be0923.tar.gz
Remove unused variables
-rw-r--r--app/flatpak-builtins-add-remote.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/flatpak-builtins-add-remote.c b/app/flatpak-builtins-add-remote.c
index 4260f05..4b41a3e 100644
--- a/app/flatpak-builtins-add-remote.c
+++ b/app/flatpak-builtins-add-remote.c
@@ -196,7 +196,6 @@ flatpak_builtin_add_remote (int argc, char **argv,
{
g_autoptr(GOptionContext) context = NULL;
g_autoptr(FlatpakDir) dir = NULL;
- g_autoptr(GVariantBuilder) optbuilder = NULL;
g_autoptr(GFile) file = NULL;
g_auto(GStrv) remotes = NULL;
g_autofree char *title = NULL;
@@ -271,7 +270,6 @@ flatpak_builtin_modify_remote (int argc, char **argv, GCancellable *cancellable,
{
g_autoptr(GOptionContext) context = NULL;
g_autoptr(FlatpakDir) dir = NULL;
- g_autoptr(GVariantBuilder) optbuilder = NULL;
g_autoptr(GKeyFile) config = NULL;
g_autoptr(GBytes) gpg_data = NULL;
const char *remote_name;
@@ -288,8 +286,6 @@ flatpak_builtin_modify_remote (int argc, char **argv, GCancellable *cancellable,
remote_name = argv[1];
- optbuilder = g_variant_builder_new (G_VARIANT_TYPE ("a{sv}"));
-
if (!ostree_repo_remote_get_url (flatpak_dir_get_repo (dir), remote_name, NULL, NULL))
return flatpak_fail (error, "No remote %s", remote_name);