Add some code changes/fixes proposed by Coverity and Clang Tidy
This commit is contained in:
parent
045ab51ae5
commit
e0b5b21863
26 changed files with 65 additions and 58 deletions
|
|
@ -266,7 +266,10 @@ Error AudioDriverPulseAudio::init() {
|
|||
}
|
||||
|
||||
while (pa_ready == 0) {
|
||||
pa_mainloop_iterate(pa_ml, 1, NULL);
|
||||
ret = pa_mainloop_iterate(pa_ml, 1, NULL);
|
||||
if (ret < 0) {
|
||||
ERR_PRINT("pa_mainloop_iterate error");
|
||||
}
|
||||
}
|
||||
|
||||
if (pa_ready < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue