Remove unused local variables reported by clang

tingping/wmclass
Alexander Larsson 2016-04-21 09:48:56 +02:00
parent 1838b1e9da
commit af03d2f5b4
4 changed files with 0 additions and 6 deletions

View File

@ -1894,7 +1894,6 @@ builder_manifest_create_platform (BuilderManifest *self,
g_autoptr(GFile) metadata_file = NULL;
g_autofree char *extension_contents = NULL;
g_autoptr(GFileOutputStream) output = NULL;
g_autoptr(GFile) locale_parent_dir = NULL;
g_autoptr(GFile) metadata_locale_file = NULL;
g_autofree char *metadata_contents = NULL;

View File

@ -1954,7 +1954,6 @@ xdg_app_dir_deploy (XdgAppDir *self,
g_autoptr(GFile) files_etc = NULL;
g_autoptr(GFile) metadata = NULL;
g_autoptr(GFile) export = NULL;
g_autoptr(OstreeAsyncProgress) progress = NULL;
g_autoptr(GKeyFile) keyfile = NULL;
g_auto(GStrv) subpaths = NULL;

View File

@ -1516,7 +1516,6 @@ xdg_app_repo_collect_sizes (OstreeRepo *repo,
GCancellable *cancellable,
GError **error)
{
g_autoptr(GFileInfo) local_file_info = NULL;
g_autoptr(GFileEnumerator) dir_enum = NULL;
GFileInfo *child_info_tmp;
GError *temp_error = NULL;

View File

@ -1130,7 +1130,6 @@ xdp_fuse_opendir (fuse_req_t req,
{
g_autoptr(XdpInode) inode = NULL;
struct dirbuf b = {0};
g_autoptr (XdgAppDbEntry) entry = NULL;
g_debug ("xdp_fuse_opendir %lx", ino);
@ -1553,7 +1552,6 @@ xdp_fuse_create (fuse_req_t req,
g_autoptr (XdgAppDbEntry) entry = NULL;
struct fuse_entry_param e = {0};
gboolean can_see, can_write;
g_autofree char *tmpfile = NULL;
int open_mode;
XdpFile *file = NULL;
XdpInode *inode;
@ -1962,7 +1960,6 @@ xdp_fuse_unlink (fuse_req_t req,
const char *filename)
{
g_autoptr(XdpInode) parent_inode = NULL;
g_autoptr (XdgAppDbEntry) entry = NULL;
g_autoptr(XdpInode) child_inode = NULL;
g_debug ("xdp_fuse_unlink %lx/%s", parent, filename);