[outputs] Fix for (unlikely) situation where all outputs have no init()

This commit is contained in:
ejurgensen 2016-12-26 19:27:37 +01:00
parent 41aa530fd3
commit 171a75375b

View File

@ -342,7 +342,10 @@ outputs_init(void)
}
if (!outputs[i]->init)
continue;
{
no_output = 0;
continue;
}
ret = outputs[i]->init();
if (ret < 0)