diff options
author | Colin Walters <walters@verbum.org> | 2016-10-25 13:06:36 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2016-10-27 17:02:01 +0000 |
commit | b77edf24a3afb7a26b40a8adfd81e88ce8d42182 (patch) | |
tree | 9e22231431abd091c8cba630760841300d38d539 /src/ostree/ot-admin-builtin-upgrade.c | |
parent | 82a4f56593207b2f8a5e6620e64d9c3fa65fbfcf (diff) | |
download | ostree-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-upgrade.c')
-rw-r--r-- | src/ostree/ot-admin-builtin-upgrade.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ostree/ot-admin-builtin-upgrade.c b/src/ostree/ot-admin-builtin-upgrade.c index 81f9bb6f..2ad74fc6 100644 --- a/src/ostree/ot-admin-builtin-upgrade.c +++ b/src/ostree/ot-admin-builtin-upgrade.c @@ -52,8 +52,6 @@ ot_admin_builtin_upgrade (int argc, char **argv, GCancellable *cancellable, GErr GOptionContext *context; glnx_unref_object OstreeSysroot *sysroot = NULL; glnx_unref_object OstreeSysrootUpgrader *upgrader = NULL; - g_autoptr(GFile) deployment_path = NULL; - g_autoptr(GFile) deployment_origin_path = NULL; g_autoptr(GKeyFile) origin = NULL; glnx_unref_object OstreeAsyncProgress *progress = NULL; gboolean changed; |