From 27e445550285f2ee8785ad84822c3463a238f95c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ji=C5=99=C3=AD=20Techet?= Date: Thu, 9 Jun 2016 10:30:07 +0200 Subject: [PATCH] Drop g_list_reverse() Since the original include list is already reordered by the hash table, it makes no sense to reverse the resulting list as it's in a different order anyway. --- tagmanager/src/tm_workspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tagmanager/src/tm_workspace.c b/tagmanager/src/tm_workspace.c index dff9fa465..e68e96200 100644 --- a/tagmanager/src/tm_workspace.c +++ b/tagmanager/src/tm_workspace.c @@ -542,7 +542,7 @@ static GList *lookup_includes(const gchar **includes, gint includes_count) g_hash_table_foreach(table, tm_move_entries_to_g_list, &includes_files); g_hash_table_destroy(table); - return g_list_reverse(includes_files); + return includes_files; } static gchar *pre_process_file(const gchar *cmd, const gchar *inf) -- 2.11.4.GIT