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
This commit is contained in:
1 parent
82a4f56593
commit
b77edf24a3
24 files changed
-65
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user