diff options
author | Max Kellermann <max@duempel.org> | 2008-10-26 21:58:37 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-26 21:58:37 +0100 |
commit | 0800c6f4ca36012b65e3cde825663adc1eafeae2 (patch) | |
tree | 5d0f24a02042c48a30d6b67920f77ef65e7e6215 /src/output_list.h | |
parent | 3dac99034afe14e61554f327329c11d32962ae04 (diff) | |
download | mpd-0800c6f4ca36012b65e3cde825663adc1eafeae2.tar.gz mpd-0800c6f4ca36012b65e3cde825663adc1eafeae2.tar.xz mpd-0800c6f4ca36012b65e3cde825663adc1eafeae2.zip |
output: don't compile plugins which are disabled
Don't compile the sources of disabled output plugins at all.
Diffstat (limited to 'src/output_list.h')
-rw-r--r-- | src/output_list.h | 4 |
1 files changed, 1 insertions, 3 deletions
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 |