diff options
author | Max Kellermann <max@duempel.org> | 2012-08-07 23:27:08 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-07 23:27:08 +0200 |
commit | 0d46e118269689e2a98e8011f52bb4bb0459421a (patch) | |
tree | 59ccb194197f3d6e5b314cc5a622b1b58ac01a4a | |
parent | ff58207034e63e9f87402f7e3c78080638cb1e2f (diff) | |
download | mpd-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.c | 7 | ||||
-rw-r--r-- | src/locate.h | 4 |
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, |