forked from Mirrors/flatpak-builder
Fix some compiler warning (unused vars)
parent
382ae396b3
commit
6c5e1a8a92
|
@ -1952,8 +1952,6 @@ builder_manifest_run (BuilderManifest *self,
|
|||
int argc,
|
||||
GError **error)
|
||||
{
|
||||
g_autoptr(GSubprocessLauncher) launcher = NULL;
|
||||
g_autoptr(GSubprocess) subp = NULL;
|
||||
g_autoptr(GPtrArray) args = NULL;
|
||||
g_autofree char *commandline = NULL;
|
||||
g_autofree char *build_dir_path = NULL;
|
||||
|
|
|
@ -752,7 +752,7 @@ builder_module_handle_debuginfo (BuilderModule *self,
|
|||
file_refs = builder_get_debuginfo_file_references (path, &local_error);
|
||||
|
||||
if (file_refs == NULL)
|
||||
g_warning (local_error->message);
|
||||
g_warning ("%s", local_error->message);
|
||||
else
|
||||
{
|
||||
GFile *build_dir = builder_context_get_build_dir (context);
|
||||
|
|
|
@ -601,8 +601,6 @@ xdg_app_dir_remove_appstream (XdgAppDir *self,
|
|||
{
|
||||
g_autoptr(GFile) appstream_dir = NULL;
|
||||
g_autoptr(GFile) remote_dir = NULL;
|
||||
g_autofree char *prefix = NULL;
|
||||
g_autoptr(GHashTable) refs = NULL;
|
||||
|
||||
if (!xdg_app_dir_ensure_repo (self, cancellable, error))
|
||||
return FALSE;
|
||||
|
@ -623,8 +621,6 @@ xdg_app_dir_remove_all_refs (XdgAppDir *self,
|
|||
GCancellable *cancellable,
|
||||
GError **error)
|
||||
{
|
||||
g_autoptr(GFile) appstream_dir = NULL;
|
||||
g_autoptr(GFile) remote_dir = NULL;
|
||||
g_autofree char *prefix = NULL;
|
||||
g_autoptr(GHashTable) refs = NULL;
|
||||
GHashTableIter hash_iter;
|
||||
|
|
|
@ -1337,7 +1337,6 @@ xdg_app_run_add_extension_args (GPtrArray *argv_array,
|
|||
GCancellable *cancellable,
|
||||
GError **error)
|
||||
{
|
||||
g_auto(GStrv) groups = NULL;
|
||||
g_auto(GStrv) parts = NULL;
|
||||
gboolean is_app;
|
||||
GList *extensions, *l;
|
||||
|
|
|
@ -144,7 +144,6 @@ xdg_app_remote_get_appstream_dir (XdgAppRemote *self,
|
|||
const char *arch)
|
||||
{
|
||||
XdgAppRemotePrivate *priv = xdg_app_remote_get_instance_private (self);
|
||||
g_autoptr(GFile) dir = NULL;
|
||||
g_autofree char *subdir = NULL;
|
||||
|
||||
if (arch == NULL)
|
||||
|
@ -170,7 +169,6 @@ xdg_app_remote_get_appstream_timestamp (XdgAppRemote *self,
|
|||
const char *arch)
|
||||
{
|
||||
XdgAppRemotePrivate *priv = xdg_app_remote_get_instance_private (self);
|
||||
g_autoptr(GFile) dir = NULL;
|
||||
g_autofree char *subdir = NULL;
|
||||
|
||||
if (arch == NULL)
|
||||
|
|
Loading…
Reference in New Issue