mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-26 14:13:18 -05:00
[outputs] Fix for (unlikely) situation where all outputs have no init()
This commit is contained in:
parent
41aa530fd3
commit
171a75375b
@ -342,7 +342,10 @@ outputs_init(void)
|
||||
}
|
||||
|
||||
if (!outputs[i]->init)
|
||||
continue;
|
||||
{
|
||||
no_output = 0;
|
||||
continue;
|
||||
}
|
||||
|
||||
ret = outputs[i]->init();
|
||||
if (ret < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user