Skip to content
Snippets Groups Projects
Commit 11a3edb3 authored by Simon McVittie's avatar Simon McVittie
Browse files

wrap: Remove unused variable


Detected by scan-build.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent a53af085
No related branches found
No related tags found
No related merge requests found
......@@ -667,7 +667,6 @@ bind_runtime (FlatpakBwrap *bwrap,
NULL
};
g_autofree gchar *xrd = g_strdup_printf ("/run/user/%ld", (long) geteuid ());
g_autofree gchar *usr = NULL;
gsize i, j;
const gchar *member;
g_autoptr(GString) dri_path = g_string_new ("");
......@@ -693,8 +692,6 @@ bind_runtime (FlatpakBwrap *bwrap,
g_return_val_if_fail (scratch != NULL, FALSE);
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
usr = g_build_filename (runtime, "usr", NULL);
if (!pv_bwrap_bind_usr (bwrap, runtime, "/", error))
return FALSE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment