summaryrefslogtreecommitdiff
path: root/src/ostree/ot-admin-builtin-deploy.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2016-10-25 13:06:36 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2016-10-27 17:02:01 +0000
commitb77edf24a3afb7a26b40a8adfd81e88ce8d42182 (patch)
tree9e22231431abd091c8cba630760841300d38d539 /src/ostree/ot-admin-builtin-deploy.c
parent82a4f56593207b2f8a5e6620e64d9c3fa65fbfcf (diff)
downloadostree-b77edf24a3afb7a26b40a8adfd81e88ce8d42182.tar.gz
tree-wide: Remove unused variables detected by CLang
CLang finds these, whereas GCC treats having `__attribute__((cleanup))` as a use. This obsoletes https://github.com/ostreedev/ostree/pull/411 Closes: #548 Approved by: jlebon
Diffstat (limited to 'src/ostree/ot-admin-builtin-deploy.c')
-rw-r--r--src/ostree/ot-admin-builtin-deploy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ostree/ot-admin-builtin-deploy.c b/src/ostree/ot-admin-builtin-deploy.c
index c66c9b3f..3039cf0d 100644
--- a/src/ostree/ot-admin-builtin-deploy.c
+++ b/src/ostree/ot-admin-builtin-deploy.c
@@ -58,7 +58,6 @@ ot_admin_builtin_deploy (int argc, char **argv, GCancellable *cancellable, GErro
glnx_unref_object OstreeSysroot *sysroot = NULL;
GKeyFile *origin = NULL;
glnx_unref_object OstreeRepo *repo = NULL;
- g_autoptr(GPtrArray) new_deployments = NULL;
glnx_unref_object OstreeDeployment *new_deployment = NULL;
glnx_unref_object OstreeDeployment *merge_deployment = NULL;
g_autofree char *revision = NULL;