summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-09 12:49:54 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-09 12:49:54 +0200
commit4f9ea6bb5715c69c560e8ca599c0dc4f2977bf85 (patch)
tree19175471aa4a52d561a7f04105bd7f9c9939464a /lib
parent5e9b247d260ff4e2b9a9620053e61e8a0161cdee (diff)
downloadxdg-app-4f9ea6bb5715c69c560e8ca599c0dc4f2977bf85.tar.gz
Remove unused variables
This fixes warnings from clang
Diffstat (limited to 'lib')
-rw-r--r--lib/flatpak-installation.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/flatpak-installation.c b/lib/flatpak-installation.c
index 0770f64..46e0ecc 100644
--- a/lib/flatpak-installation.c
+++ b/lib/flatpak-installation.c
@@ -834,8 +834,6 @@ flatpak_installation_install_bundle (FlatpakInstallation *self,
g_autoptr(GFile) deploy_base = NULL;
g_autoptr(FlatpakDir) dir_clone = NULL;
FlatpakInstalledRef *result = NULL;
- g_autoptr(GError) local_error = NULL;
- g_auto(GLnxLockFile) lock = GLNX_LOCK_FILE_INIT;
g_autoptr(GVariant) metadata = NULL;
g_autofree char *origin = NULL;
g_auto(GStrv) parts = NULL;
@@ -947,8 +945,6 @@ flatpak_installation_install (FlatpakInstallation *self,
g_autoptr(GMainContext) main_context = NULL;
g_autoptr(OstreeAsyncProgress) ostree_progress = NULL;
FlatpakInstalledRef *result = NULL;
- g_autoptr(GError) local_error = NULL;
- g_auto(GLnxLockFile) lock = GLNX_LOCK_FILE_INIT;
ref = flatpak_compose_ref (kind == FLATPAK_REF_KIND_APP, name, branch, arch, error);
if (ref == NULL)