diff options
author | Max Kellermann <max@duempel.org> | 2012-06-12 20:52:04 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-06-12 20:52:04 +0200 |
commit | 48da345e79a0b690aa7d6d59ba8b50875988243b (patch) | |
tree | b42bf4dad3f95bdcb18a4566f53280a9c8709d2d | |
parent | edbfa46cbc01bfbb1f7f1b624aaeae635408528c (diff) | |
download | mpd-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.c | 2 | ||||
-rw-r--r-- | src/cmdline.c | 1 |
2 files changed, 0 insertions, 3 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) { diff --git a/src/cmdline.c b/src/cmdline.c index 10f0a3572..4b44892f3 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -102,7 +102,6 @@ static void version(void) #ifdef ENABLE_ARCHIVE puts("\n" "Supported archives:\n"); - archive_plugin_init_all(); archive_plugin_print_all_suffixes(stdout); #endif |