diff --git a/src/tag.c b/src/tag.c index 40eb44b37..7415837fe 100644 --- a/src/tag.c +++ b/src/tag.c @@ -489,9 +489,8 @@ MpdTag *newMpdTag(void) static void deleteItem(MpdTag * tag, int index) { - tag->numOfItems--; - assert(index < tag->numOfItems); + tag->numOfItems--; removeTagItemString(tag->items[index].type, tag->items[index].value); /* free(tag->items[index].value); */