Fixes minor issues found by static analyzer

This commit is contained in:
qarmin 2019-07-07 23:08:51 +02:00
parent d897131ac5
commit 9a77d748c0
26 changed files with 39 additions and 45 deletions

View file

@ -280,7 +280,7 @@ int AudioStreamPlaybackOpus::mix(int16_t *p_buffer, int p_frames) {
int todo = p_frames;
if (todo == 0 || todo < MIN_MIX) {
if (todo < MIN_MIX) {
break;
}