From fe3fe60202be3e427070c73d4c0546b6783d5396 Mon Sep 17 00:00:00 2001
From: Ludovico de Nittis <ludovico.denittis@collabora.com>
Date: Thu, 10 Jun 2021 12:53:43 +0200
Subject: [PATCH] runtime: Remove unused variable

Since the commit fce30b8d45b5e6eceba3cc6f6edf7d64613cc903, this variable
was not used anymore.

Signed-off-by: Ludovico de Nittis <ludovico.denittis@collabora.com>
---
 pressure-vessel/runtime.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pressure-vessel/runtime.c b/pressure-vessel/runtime.c
index 9e140bba0..590ccbece 100644
--- a/pressure-vessel/runtime.c
+++ b/pressure-vessel/runtime.c
@@ -3111,7 +3111,6 @@ pv_runtime_remove_overridden_libraries (PvRuntime *self,
 
       while (TRUE)
         {
-          g_autofree gchar *path = NULL;
           g_autofree gchar *target = NULL;
           const char *target_base;
 
@@ -3149,7 +3148,6 @@ pv_runtime_remove_overridden_libraries (PvRuntime *self,
               strstr (dent->d_name, ".so.") == NULL)
             continue;
 
-          path = g_build_filename (libdir, dent->d_name, NULL);
           target = glnx_readlinkat_malloc (iters[i].fd, dent->d_name,
                                            NULL, NULL);
           if (target != NULL)
-- 
GitLab