lib/deploy: Drop unused variable
authorJonathan Lebon <jonathan@jlebon.com>
Sat, 27 May 2023 14:33:39 +0000 (10:33 -0400)
committerJonathan Lebon <jonathan@jlebon.com>
Sun, 28 May 2023 22:38:38 +0000 (18:38 -0400)
Noticed this diagnostic in my editor with clangd hooked up.

src/libostree/ostree-sysroot-deploy.c

index 610fde5e6d112c824862a31fd3b2257f637774b4..fbaf83c5b48d8a795981c323a69de98e293efe6c 100644 (file)
@@ -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))