summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-12-15 14:34:52 +0100
committerAlexander Larsson <alexl@redhat.com>2015-12-15 14:34:52 +0100
commit43a09b36460b2bcea29143867c66b7174f152b4a (patch)
tree19330ecccecda2091337ffe9bb068083aa37dc1b /lib
parent4342959f6d0f94c0bbec067544b5593f7756b196 (diff)
downloadxdg-app-43a09b36460b2bcea29143867c66b7174f152b4a.tar.gz
Fix unused variable warnings
Diffstat (limited to 'lib')
-rw-r--r--lib/xdg-app-installation.c1
-rw-r--r--lib/xdg-app-remote.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/xdg-app-installation.c b/lib/xdg-app-installation.c
index 027e482..5773f4a 100644
--- a/lib/xdg-app-installation.c
+++ b/lib/xdg-app-installation.c
@@ -336,7 +336,6 @@ xdg_app_installation_load_app_overrides (XdgAppInstallation *self,
GError **error)
{
XdgAppInstallationPrivate *priv = xdg_app_installation_get_instance_private (self);
- g_autoptr(GBytes) bytes = NULL;
g_autofree char *metadata_contents = NULL;
gsize metadata_size;
diff --git a/lib/xdg-app-remote.c b/lib/xdg-app-remote.c
index 6825c57..a9b355d 100644
--- a/lib/xdg-app-remote.c
+++ b/lib/xdg-app-remote.c
@@ -235,7 +235,6 @@ xdg_app_remote_fetch_ref_sync (XdgAppRemote *self,
GError **error)
{
XdgAppRemotePrivate *priv = xdg_app_remote_get_instance_private (self);
- g_autoptr(GPtrArray) refs = g_ptr_array_new_with_free_func (g_object_unref);
g_autoptr(GHashTable) ht = NULL;
g_autofree char *ref = NULL;
const char *checksum;