fixed a compiler warning

This commit is contained in:
Volker Fischer 2015-02-15 08:44:49 +00:00
parent 68bbf37327
commit 4de2d7ac44

View file

@ -422,8 +422,6 @@ void CChannelFader::SetChannelInfos ( const CChannelInfo& cChanInfo )
} }
// skill level // skill level
if ( cChanInfo.eSkillLevel != SL_NOT_SET )
{
switch ( cChanInfo.eSkillLevel ) switch ( cChanInfo.eSkillLevel )
{ {
case SL_BEGINNER: case SL_BEGINNER:
@ -437,7 +435,10 @@ void CChannelFader::SetChannelInfos ( const CChannelInfo& cChanInfo )
case SL_PROFESSIONAL: case SL_PROFESSIONAL:
strToolTip += "<h4>Skill Level</h4>Expert"; strToolTip += "<h4>Skill Level</h4>Expert";
break; break;
}
case SL_NOT_SET:
// skill level not set, do not add this entry
break;
} }
// if no information is given, leave the tool tip empty, otherwise add header // if no information is given, leave the tool tip empty, otherwise add header