From dff906c13b57d3c18b973bc282668c2665f653a4 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 12 Aug 2019 14:32:04 -0700 Subject: Remove always-true assumption --- alc/mixvoice.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'alc/mixvoice.cpp') diff --git a/alc/mixvoice.cpp b/alc/mixvoice.cpp index 295b1352..c8833ed3 100644 --- a/alc/mixvoice.cpp +++ b/alc/mixvoice.cpp @@ -398,7 +398,6 @@ ALfloat *LoadBufferStatic(ALbufferlistitem *BufferListItem, ALbufferlistitem *&B const ALbuffer *Buffer{BufferListItem->mBuffer}; const ALuint LoopStart{Buffer->LoopStart}; const ALuint LoopEnd{Buffer->LoopEnd}; - ASSUME(LoopStart >= 0); ASSUME(LoopEnd > LoopStart); /* If current pos is beyond the loop range, do not loop */ -- cgit v1.2.3