2328f84e37
This function won't work correctly on unsorted array because the second part of the function (after the tags search) expects the array is sorted by name. The only user of this is tm_source_file_set_tag_arglist() in which we can go through the tags manually by ourselves (it needs only a single value so the original behavior of tm_tags_find() wasn't a problem). Eliminate the tags_search() function as it isn't needed any more. Just cleanup, not functional change.