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-repo-libarchive.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-repo-libarchive.c')
-rw-r--r-- | src/libostree/ostree-repo-libarchive.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libostree/ostree-repo-libarchive.c b/src/libostree/ostree-repo-libarchive.c index d05b34ea..3a58d106 100644 --- a/src/libostree/ostree-repo-libarchive.c +++ b/src/libostree/ostree-repo-libarchive.c @@ -300,7 +300,6 @@ aic_apply_modifier_filter (OstreeRepoArchiveImportContext *ctx, const char *relpath, GFileInfo **out_file_info) { - g_autofree char *hardlink = aic_get_final_entry_hardlink (ctx); g_autoptr(GFileInfo) file_info = NULL; g_autofree char *abspath = NULL; const char *cb_path = NULL; @@ -915,7 +914,6 @@ ostree_repo_write_archive_to_mtree (OstreeRepo *self, #ifdef HAVE_LIBARCHIVE gboolean ret = FALSE; struct archive *a = NULL; - g_autoptr(GFileInfo) tmp_dir_info = NULL; OstreeRepoImportArchiveOptions opts = { 0, }; a = archive_read_new (); |