diff --git a/src/ostree/ot-admin-builtin-pin.c b/src/ostree/ot-admin-builtin-pin.c index 6beb5e69d1..4ce5eca6e6 100644 --- a/src/ostree/ot-admin-builtin-pin.c +++ b/src/ostree/ot-admin-builtin-pin.c @@ -57,8 +57,6 @@ ot_admin_builtin_pin (int argc, char **argv, OstreeCommandInvocation *invocation return FALSE; } - g_autoptr(GPtrArray) current_deployments = ostree_sysroot_get_deployments (sysroot); - const char *deploy_index_str = argv[1]; const int deploy_index = atoi (deploy_index_str);