rsl: Add missing breaks in the code

Given that the method is only called for a traffic channels the
missing breaks didn't hurt.

Fixes: Coverity CID 1040731, CID 1040732, CID 1040733,
       CID 1040734
This commit is contained in:
Holger Hans Peter Freyther 2014-04-04 12:14:55 +02:00
parent d219507d63
commit 4766524d17
1 changed files with 6 additions and 0 deletions

View File

@ -1718,6 +1718,7 @@ static uint8_t ipa_smod_s_for_lchan(struct gsm_lchan *lchan)
default:
break;
}
break;
case GSM48_CMODE_SPEECH_EFR:
switch (lchan->type) {
case GSM_LCHAN_TCH_F:
@ -1726,6 +1727,7 @@ static uint8_t ipa_smod_s_for_lchan(struct gsm_lchan *lchan)
default:
break;
}
break;
case GSM48_CMODE_SPEECH_AMR:
switch (lchan->type) {
case GSM_LCHAN_TCH_F:
@ -1735,6 +1737,7 @@ static uint8_t ipa_smod_s_for_lchan(struct gsm_lchan *lchan)
default:
break;
}
break;
default:
break;
}
@ -1755,6 +1758,7 @@ static uint8_t ipa_rtp_pt_for_lchan(struct gsm_lchan *lchan)
default:
break;
}
break;
case GSM48_CMODE_SPEECH_EFR:
switch (lchan->type) {
case GSM_LCHAN_TCH_F:
@ -1763,6 +1767,7 @@ static uint8_t ipa_rtp_pt_for_lchan(struct gsm_lchan *lchan)
default:
break;
}
break;
case GSM48_CMODE_SPEECH_AMR:
switch (lchan->type) {
case GSM_LCHAN_TCH_F:
@ -1771,6 +1776,7 @@ static uint8_t ipa_rtp_pt_for_lchan(struct gsm_lchan *lchan)
default:
break;
}
break;
default:
break;
}