locate: remove unused function locate_item_free()
This commit is contained in:
parent
ff58207034
commit
0d46e11826
@ -115,13 +115,6 @@ locate_item_list_casefold(const struct locate_item_list *list)
|
||||
return new_list;
|
||||
}
|
||||
|
||||
void
|
||||
locate_item_free(struct locate_item *item)
|
||||
{
|
||||
g_free(item->needle);
|
||||
g_free(item);
|
||||
}
|
||||
|
||||
static bool
|
||||
locate_tag_search(const struct song *song, enum tag_type type, const char *str)
|
||||
{
|
||||
|
@ -75,10 +75,6 @@ gcc_nonnull(1)
|
||||
void
|
||||
locate_item_list_free(struct locate_item_list *list);
|
||||
|
||||
gcc_nonnull(1)
|
||||
void
|
||||
locate_item_free(struct locate_item *item);
|
||||
|
||||
gcc_nonnull(1,2)
|
||||
bool
|
||||
locate_song_search(const struct song *song,
|
||||
|
Loading…
Reference in New Issue
Block a user