aboutsummaryrefslogtreecommitdiffstats
path: root/src/locate.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-13 20:05:45 +0200
committerMax Kellermann <max@duempel.org>2011-09-13 20:44:00 +0200
commit3fc6beeff0c5bba90a458422c40af5ed0d6c81aa (patch)
treedac023443f694a8df207852f42f139036f8db892 /src/locate.c
parent2ff35c8bfa18d1ada10ef2b82012d39bd19a972a (diff)
downloadmpd-3fc6beeff0c5bba90a458422c40af5ed0d6c81aa.tar.gz
mpd-3fc6beeff0c5bba90a458422c40af5ed0d6c81aa.tar.xz
mpd-3fc6beeff0c5bba90a458422c40af5ed0d6c81aa.zip
locate: remove unused function locate_item_new()
Diffstat (limited to 'src/locate.c')
-rw-r--r--src/locate.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/locate.c b/src/locate.c
index 8ad61fa02..96acb3a39 100644
--- a/src/locate.c
+++ b/src/locate.c
@@ -64,19 +64,6 @@ locate_item_init(struct locate_item *item,
return true;
}
-struct locate_item *
-locate_item_new(const char *type_string, const char *needle)
-{
- struct locate_item *ret = g_new(struct locate_item, 1);
-
- if (!locate_item_init(ret, type_string, needle)) {
- g_free(ret);
- ret = NULL;
- }
-
- return ret;
-}
-
void
locate_item_list_free(struct locate_item_list *list)
{