aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-07 23:27:08 +0200
committerMax Kellermann <max@duempel.org>2012-08-07 23:27:08 +0200
commit0d46e118269689e2a98e8011f52bb4bb0459421a (patch)
tree59ccb194197f3d6e5b314cc5a622b1b58ac01a4a /src
parentff58207034e63e9f87402f7e3c78080638cb1e2f (diff)
downloadmpd-0d46e118269689e2a98e8011f52bb4bb0459421a.tar.gz
mpd-0d46e118269689e2a98e8011f52bb4bb0459421a.tar.xz
mpd-0d46e118269689e2a98e8011f52bb4bb0459421a.zip
locate: remove unused function locate_item_free()
Diffstat (limited to '')
-rw-r--r--src/locate.c7
-rw-r--r--src/locate.h4
2 files changed, 0 insertions, 11 deletions
diff --git a/src/locate.c b/src/locate.c
index 9645da9cd..d4b902538 100644
--- a/src/locate.c
+++ b/src/locate.c
@@ -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)
{
diff --git a/src/locate.h b/src/locate.h
index ec20ded24..9ebb2c4ae 100644
--- a/src/locate.h
+++ b/src/locate.h
@@ -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,