locate: remove unused function locate_item_free()

This commit is contained in:
Max Kellermann 2012-08-07 23:27:08 +02:00
parent ff58207034
commit 0d46e11826
2 changed files with 0 additions and 11 deletions

View File

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

View File

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