summaryrefslogtreecommitdiff
path: root/src/portal
diff options
context:
space:
mode:
authorDaniele Nicolodi <daniele@grinta.net>2021-04-27 14:04:32 +0200
committerDaniele Nicolodi <daniele@grinta.net>2021-05-01 21:01:12 +0200
commitde66592c35ac6bfc8af7e7c3e054ca3c1e0a20ff (patch)
tree52febd43570c3b0c6e2083808edf29a6686443cb /src/portal
parent245a6c3e6979edf44fc1a5fb2e64916ac0c63192 (diff)
downloadtracker-de66592c35ac6bfc8af7e7c3e054ca3c1e0a20ff.tar.gz
portal: Remove unused variables
Diffstat (limited to 'src/portal')
-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;