diff options
author | Chris Robinson <[email protected]> | 2019-08-12 14:32:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-08-12 14:32:04 -0700 |
commit | dff906c13b57d3c18b973bc282668c2665f653a4 (patch) | |
tree | 1f912dfd322a6fafd6dd0c46ec1ff67b452f8274 /alc/mixvoice.cpp | |
parent | 81d17bb80f77cc5d078547b5fb102a2b44fecee0 (diff) |
Remove always-true assumption
Diffstat (limited to 'alc/mixvoice.cpp')
-rw-r--r-- | alc/mixvoice.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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 */ |