ostree/0002-lib-deploy-Drop-unused-variable.patch

26 lines
876 B
Diff

From 115d5cf0730cd39b3a27799bd15dfb17ba97c9b4 Mon Sep 17 00:00:00 2001
From: Jonathan Lebon <jonathan@jlebon.com>
Date: Sat, 27 May 2023 10:33:39 -0400
Subject: [PATCH 2/5] lib/deploy: Drop unused variable
Noticed this diagnostic in my editor with clangd hooked up.
---
src/libostree/ostree-sysroot-deploy.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c
index 610fde5e..fbaf83c5 100644
--- a/src/libostree/ostree-sysroot-deploy.c
+++ b/src/libostree/ostree-sysroot-deploy.c
@@ -2910,7 +2910,6 @@ lint_deployment_fs (OstreeSysroot *self, OstreeDeployment *deployment, int deplo
g_auto (GLnxDirFdIterator) dfd_iter = {
0,
};
- glnx_autofd int dest_dfd = -1;
gboolean exists;
if (!ot_dfd_iter_init_allow_noent (deployment_dfd, "var", &dfd_iter, &exists, error))
--
2.40.1