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.
This commit is contained in:
Jiří Techet 2016-06-09 10:30:07 +02:00
parent 379eefa831
commit 27e4455502

View File

@ -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)