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:
parent
379eefa831
commit
27e4455502
@ -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_foreach(table, tm_move_entries_to_g_list, &includes_files);
|
||||||
g_hash_table_destroy(table);
|
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)
|
static gchar *pre_process_file(const gchar *cmd, const gchar *inf)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user