---
 src/strset.c |   15 ---------------
 src/strset.h |    2 --
 2 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/src/strset.c b/src/strset.c
index 474dd66..7235cf1 100644
--- a/src/strset.c
+++ b/src/strset.c
@@ -101,21 +101,6 @@ void strset_add(struct strset *set, const char *value)
        ++set->size;
 }
 
-int strset_get(const struct strset *set, const char *value)
-{
-       const struct strset_slot *slot = &set->slots[calc_hash(value)];
-
-       if (slot->value == NULL)
-               return 0;
-
-       for (slot = slot->next; slot != NULL; slot = slot->next)
-               if (strcmp(slot->value, value) == 0)
-                       /* found it - do nothing */
-                       return 1;
-
-       return 0;
-}
-
 unsigned strset_size(const struct strset *set)
 {
        return set->size;
diff --git a/src/strset.h b/src/strset.h
index 7b0c38c..efecbfc 100644
--- a/src/strset.h
+++ b/src/strset.h
@@ -39,8 +39,6 @@ void strset_free(struct strset *set);
 
 void strset_add(struct strset *set, const char *value);
 
-int strset_get(const struct strset *set, const char *value);
-
 unsigned strset_size(const struct strset *set);
 
 void strset_rewind(struct strset *set);
-- 
1.6.1.3


------------------------------------------------------------------------------
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to