aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-26 22:14:54 +0100
committerMax Kellermann <max@duempel.org>2009-02-26 22:14:54 +0100
commit58c201ce1447eb2f0b3e04d21c74353412e0bcf1 (patch)
treecb5b0ee26f7ecf5fb4f9cf57c4cbfa8ab150bd5a
parentdfea6b7cdd50ad14082b1848104d580b4380471b (diff)
downloadmpd-58c201ce1447eb2f0b3e04d21c74353412e0bcf1.tar.gz
mpd-58c201ce1447eb2f0b3e04d21c74353412e0bcf1.tar.xz
mpd-58c201ce1447eb2f0b3e04d21c74353412e0bcf1.zip
output_all: removed "audio_outputs!=NULL" check
After initialization, audio_outputs is always non-NULL. Don't check that.
-rw-r--r--src/output_all.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/output_all.c b/src/output_all.c
index 2952f5f4f..cf921f801 100644
--- a/src/output_all.c
+++ b/src/output_all.c
@@ -227,9 +227,6 @@ audio_output_all_open(const struct audio_format *audio_format)
bool ret = false;
unsigned int i;
- if (!audio_outputs)
- return false;
-
if (audio_format != NULL)
input_audio_format = *audio_format;