forked from Mirrors/flatpak-builder
Remove unused local variables reported by clang
parent
1838b1e9da
commit
af03d2f5b4
|
@ -1894,7 +1894,6 @@ builder_manifest_create_platform (BuilderManifest *self,
|
||||||
g_autoptr(GFile) metadata_file = NULL;
|
g_autoptr(GFile) metadata_file = NULL;
|
||||||
g_autofree char *extension_contents = NULL;
|
g_autofree char *extension_contents = NULL;
|
||||||
g_autoptr(GFileOutputStream) output = NULL;
|
g_autoptr(GFileOutputStream) output = NULL;
|
||||||
g_autoptr(GFile) locale_parent_dir = NULL;
|
|
||||||
g_autoptr(GFile) metadata_locale_file = NULL;
|
g_autoptr(GFile) metadata_locale_file = NULL;
|
||||||
g_autofree char *metadata_contents = NULL;
|
g_autofree char *metadata_contents = NULL;
|
||||||
|
|
||||||
|
|
|
@ -1954,7 +1954,6 @@ xdg_app_dir_deploy (XdgAppDir *self,
|
||||||
g_autoptr(GFile) files_etc = NULL;
|
g_autoptr(GFile) files_etc = NULL;
|
||||||
g_autoptr(GFile) metadata = NULL;
|
g_autoptr(GFile) metadata = NULL;
|
||||||
g_autoptr(GFile) export = NULL;
|
g_autoptr(GFile) export = NULL;
|
||||||
g_autoptr(OstreeAsyncProgress) progress = NULL;
|
|
||||||
g_autoptr(GKeyFile) keyfile = NULL;
|
g_autoptr(GKeyFile) keyfile = NULL;
|
||||||
g_auto(GStrv) subpaths = NULL;
|
g_auto(GStrv) subpaths = NULL;
|
||||||
|
|
||||||
|
|
|
@ -1516,7 +1516,6 @@ xdg_app_repo_collect_sizes (OstreeRepo *repo,
|
||||||
GCancellable *cancellable,
|
GCancellable *cancellable,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
g_autoptr(GFileInfo) local_file_info = NULL;
|
|
||||||
g_autoptr(GFileEnumerator) dir_enum = NULL;
|
g_autoptr(GFileEnumerator) dir_enum = NULL;
|
||||||
GFileInfo *child_info_tmp;
|
GFileInfo *child_info_tmp;
|
||||||
GError *temp_error = NULL;
|
GError *temp_error = NULL;
|
||||||
|
|
|
@ -1130,7 +1130,6 @@ xdp_fuse_opendir (fuse_req_t req,
|
||||||
{
|
{
|
||||||
g_autoptr(XdpInode) inode = NULL;
|
g_autoptr(XdpInode) inode = NULL;
|
||||||
struct dirbuf b = {0};
|
struct dirbuf b = {0};
|
||||||
g_autoptr (XdgAppDbEntry) entry = NULL;
|
|
||||||
|
|
||||||
g_debug ("xdp_fuse_opendir %lx", ino);
|
g_debug ("xdp_fuse_opendir %lx", ino);
|
||||||
|
|
||||||
|
@ -1553,7 +1552,6 @@ xdp_fuse_create (fuse_req_t req,
|
||||||
g_autoptr (XdgAppDbEntry) entry = NULL;
|
g_autoptr (XdgAppDbEntry) entry = NULL;
|
||||||
struct fuse_entry_param e = {0};
|
struct fuse_entry_param e = {0};
|
||||||
gboolean can_see, can_write;
|
gboolean can_see, can_write;
|
||||||
g_autofree char *tmpfile = NULL;
|
|
||||||
int open_mode;
|
int open_mode;
|
||||||
XdpFile *file = NULL;
|
XdpFile *file = NULL;
|
||||||
XdpInode *inode;
|
XdpInode *inode;
|
||||||
|
@ -1962,7 +1960,6 @@ xdp_fuse_unlink (fuse_req_t req,
|
||||||
const char *filename)
|
const char *filename)
|
||||||
{
|
{
|
||||||
g_autoptr(XdpInode) parent_inode = NULL;
|
g_autoptr(XdpInode) parent_inode = NULL;
|
||||||
g_autoptr (XdgAppDbEntry) entry = NULL;
|
|
||||||
g_autoptr(XdpInode) child_inode = NULL;
|
g_autoptr(XdpInode) child_inode = NULL;
|
||||||
|
|
||||||
g_debug ("xdp_fuse_unlink %lx/%s", parent, filename);
|
g_debug ("xdp_fuse_unlink %lx/%s", parent, filename);
|
||||||
|
|
Loading…
Reference in New Issue