From 0800c6f4ca36012b65e3cde825663adc1eafeae2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 26 Oct 2008 21:58:37 +0100 Subject: output: don't compile plugins which are disabled Don't compile the sources of disabled output plugins at all. --- src/output_list.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/output_list.h') diff --git a/src/output_list.h b/src/output_list.h index d0fcf1285..1be0b8169 100644 --- a/src/output_list.h +++ b/src/output_list.h @@ -25,8 +25,6 @@ const struct audio_output_plugin * audio_output_plugin_get(const char *name); #define audio_output_plugins_for_each(plugin, i) \ - for (i = 0; (plugin = audio_output_plugins[i]) != NULL; ++i) \ - if (plugin->name != NULL) - + for (i = 0; (plugin = audio_output_plugins[i]) != NULL; ++i) #endif -- cgit v1.2.3