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/libostree/ostree-sysroot-upgrader.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/libostree/ostree-sysroot-upgrader.c')
-rw-r--r-- | src/libostree/ostree-sysroot-upgrader.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libostree/ostree-sysroot-upgrader.c b/src/libostree/ostree-sysroot-upgrader.c index 92b8dc83..22710bda 100644 --- a/src/libostree/ostree-sysroot-upgrader.c +++ b/src/libostree/ostree-sysroot-upgrader.c @@ -530,7 +530,6 @@ ostree_sysroot_upgrader_pull_one_dir (OstreeSysrootUpgrader *self, glnx_unref_object OstreeRepo *repo = NULL; char *refs_to_fetch[] = { NULL, NULL }; const char *from_revision = NULL; - g_autofree char *new_revision = NULL; g_autofree char *origin_refspec = NULL; if (self->override_csum != NULL) |