aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive_list.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-06-12 20:52:04 +0200
committerMax Kellermann <max@duempel.org>2012-06-12 20:52:04 +0200
commit48da345e79a0b690aa7d6d59ba8b50875988243b (patch)
treeb42bf4dad3f95bdcb18a4566f53280a9c8709d2d /src/archive_list.c
parentedbfa46cbc01bfbb1f7f1b624aaeae635408528c (diff)
downloadmpd-48da345e79a0b690aa7d6d59ba8b50875988243b.tar.gz
mpd-48da345e79a0b690aa7d6d59ba8b50875988243b.tar.xz
mpd-48da345e79a0b690aa7d6d59ba8b50875988243b.zip
cmdline: don't initalise archive plugins for --version
Dump all archive plugins, even those that fail to initialise.
Diffstat (limited to '')
-rw-r--r--src/archive_list.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/archive_list.c b/src/archive_list.c
index 2656726b5..686498117 100644
--- a/src/archive_list.c
+++ b/src/archive_list.c
@@ -80,8 +80,6 @@ void archive_plugin_print_all_suffixes(FILE * fp)
for (unsigned i = 0; archive_plugins[i] != NULL; ++i) {
const struct archive_plugin *plugin = archive_plugins[i];
- if (!archive_plugins_enabled[i])
- continue;
suffixes = plugin->suffixes;
while (suffixes && *suffixes) {