Commit 0d46e118 authored by Max Kellermann's avatar Max Kellermann

locate: remove unused function locate_item_free()

parent ff582070
...@@ -115,13 +115,6 @@ locate_item_list_casefold(const struct locate_item_list *list) ...@@ -115,13 +115,6 @@ locate_item_list_casefold(const struct locate_item_list *list)
return new_list; return new_list;
} }
void
locate_item_free(struct locate_item *item)
{
g_free(item->needle);
g_free(item);
}
static bool static bool
locate_tag_search(const struct song *song, enum tag_type type, const char *str) locate_tag_search(const struct song *song, enum tag_type type, const char *str)
{ {
......
...@@ -75,10 +75,6 @@ gcc_nonnull(1) ...@@ -75,10 +75,6 @@ gcc_nonnull(1)
void void
locate_item_list_free(struct locate_item_list *list); locate_item_list_free(struct locate_item_list *list);
gcc_nonnull(1)
void
locate_item_free(struct locate_item *item);
gcc_nonnull(1,2) gcc_nonnull(1,2)
bool bool
locate_song_search(const struct song *song, locate_song_search(const struct song *song,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment