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
@@ -188,7 +188,6 @@ _ostree_static_delta_part_execute (OstreeRepo *repo,
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
guint8 *checksums_data;
|
||||
g_autoptr(GVariant) checksums = NULL;
|
||||
g_autoptr(GVariant) mode_dict = NULL;
|
||||
g_autoptr(GVariant) xattr_dict = NULL;
|
||||
g_autoptr(GVariant) payload = NULL;
|
||||
@@ -471,7 +470,6 @@ dispatch_bspatch (OstreeRepo *repo,
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
guint64 offset, length;
|
||||
g_autoptr(GInputStream) in_stream = NULL;
|
||||
g_autoptr(GMappedFile) input_mfile = NULL;
|
||||
g_autofree guchar *buf = NULL;
|
||||
struct bspatch_stream stream;
|
||||
|
||||
Reference in new issue
Block a user