Silence Coverity warning

This commit is contained in:
twinaphex 2017-05-08 22:40:19 +02:00
parent 99e7cb7d75
commit 18f06e177e

View File

@ -435,9 +435,6 @@ audio_mixer_voice_t* audio_mixer_play(audio_mixer_sound_t* sound, bool repeat,
for (i = 0; i < AUDIO_MIXER_MAX_VOICES; i++, voice++) for (i = 0; i < AUDIO_MIXER_MAX_VOICES; i++, voice++)
{ {
if (!voice)
continue;
if (voice->type != AUDIO_MIXER_TYPE_NONE) if (voice->type != AUDIO_MIXER_TYPE_NONE)
continue; continue;