summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-10-27 11:33:00 +0000
committerRichard Hughes <richard@hughsie.com>2015-10-27 11:33:00 +0000
commit5544b147c581f407a713e7f805f2c6cec15504f3 (patch)
tree21e02d76e0f2ff0ef7354eee84e699ab92a3a4f0
parenta7e9b83b4fb31d3ead235004c9097b300e3fa4df (diff)
downloadappstream-glib-5544b147c581f407a713e7f805f2c6cec15504f3.tar.gz
trivial: Remove some unknown code spotted by clang
-rw-r--r--libappstream-builder/plugins/asb-plugin-desktop.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-desktop.c b/libappstream-builder/plugins/asb-plugin-desktop.c
index deeab2a..0af900a 100644
--- a/libappstream-builder/plugins/asb-plugin-desktop.c
+++ b/libappstream-builder/plugins/asb-plugin-desktop.c
@@ -293,7 +293,6 @@ asb_plugin_desktop_refine (AsbPlugin *plugin,
AsAppParseFlags parse_flags = AS_APP_PARSE_FLAG_USE_HEURISTICS |
AS_APP_PARSE_FLAG_ALLOW_VETO;
gboolean ret;
- g_autofree gchar *app_id = NULL;
g_autoptr(AsApp) desktop_app = NULL;
g_autoptr(GdkPixbuf) pixbuf = NULL;
@@ -302,7 +301,6 @@ asb_plugin_desktop_refine (AsbPlugin *plugin,
parse_flags |= AS_APP_PARSE_FLAG_USE_FALLBACKS;
/* create app */
- app_id = g_path_get_basename (filename);
desktop_app = as_app_new ();
if (!as_app_parse_file (desktop_app, filename, parse_flags, error))
return FALSE;