aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/inputPlugins/wavpack_plugin.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/inputPlugins/wavpack_plugin.c b/src/inputPlugins/wavpack_plugin.c
index c8b4ac339..77339dabd 100644
--- a/src/inputPlugins/wavpack_plugin.c
+++ b/src/inputPlugins/wavpack_plugin.c
@@ -286,11 +286,6 @@ static struct mpd_tag *wavpack_tagdup(char *fname)
}
tag = tag_new();
- if (tag == NULL) {
- ERROR("failed to tag_new()\n");
- return NULL;
- }
-
tag->time =
(float)WavpackGetNumSamples(wpc) / WavpackGetSampleRate(wpc);