summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/portal/tracker-portal-utils.c1
-rw-r--r--src/portal/tracker-portal.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/portal/tracker-portal-utils.c b/src/portal/tracker-portal-utils.c
index 2582a720e..1ae1b218f 100644
--- a/src/portal/tracker-portal-utils.c
+++ b/src/portal/tracker-portal-utils.c
@@ -45,7 +45,6 @@ parse_app_info_from_flatpak_info (int pid, GError **error)
g_autoptr(GError) local_error = NULL;
g_autoptr(GMappedFile) mapped = NULL;
g_autoptr(GKeyFile) metadata = NULL;
- g_autofree char *id = NULL;
root_path = g_strdup_printf ("/proc/%u/root", pid);
root_fd = openat (AT_FDCWD, root_path, O_RDONLY | O_NONBLOCK | O_DIRECTORY | O_CLOEXEC | O_NOCTTY);
diff --git a/src/portal/tracker-portal.c b/src/portal/tracker-portal.c
index 1fdb48087..d2590475a 100644
--- a/src/portal/tracker-portal.c
+++ b/src/portal/tracker-portal.c
@@ -368,7 +368,6 @@ portal_iface_method_call (GDBusConnection *connection,
g_dbus_method_invocation_return_value (invocation,
g_variant_new ("(o)", session.object_path));
} else if (g_strcmp0 (method_name, "CloseSession") == 0) {
- g_autofree gchar *uri = NULL;
g_autofree gchar *object_path = NULL;
gboolean found = FALSE;
gint i;