Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[AEChannelInfo][*REVIEW*] What's the purpose of this assert?

  • Loading branch information...
commit add8fab77bd3a646569164a79d96f1ee2b57ac0f 1 parent a371cd5
@ace20022 authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  xbmc/cores/AudioEngine/Utils/AEChannelInfo.cpp
View
1  xbmc/cores/AudioEngine/Utils/AEChannelInfo.cpp
@@ -239,6 +239,7 @@ CAEChannelInfo::operator std::string()
const char* CAEChannelInfo::GetChName(const enum AEChannel ch)
{
+ // Logical disjunction always evaluates to true: ch >= 0 || ch < 29.
ASSERT(ch >= 0 || ch < AE_CH_MAX);
static const char* channels[AE_CH_MAX] =
Please sign in to comment.
Something went wrong with that request. Please try again.