GSM_Types: Fix warning: control reaches end of non-void function
Change-Id: I749fe3a2ca85ae96fa74a78f15180cfaa02ffe84
This commit is contained in:
parent
810b1df0d8
commit
3855462672
|
@ -14,6 +14,7 @@ module GSM_Types {
|
|||
|
||||
import from General_Types all;
|
||||
import from Osmocom_Types all;
|
||||
import from Misc_Helpers all;
|
||||
|
||||
type integer GsmArfcn (0..1023);
|
||||
type integer UmtsArfcn (0..16383);
|
||||
|
@ -86,11 +87,10 @@ function f_gprs_blocksize(GprsCodingScheme cs) return integer {
|
|||
case (CS2) { return 32 }
|
||||
case (CS3) { return 38 }
|
||||
case (CS3) { return 52 }
|
||||
case else {
|
||||
setverdict(fail, "Invalid GPRS CS ", cs);
|
||||
mtc.stop;
|
||||
}
|
||||
}
|
||||
Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail,
|
||||
log2str("Invalid GPRS CS ", cs));
|
||||
return 0;
|
||||
}
|
||||
|
||||
const GprsTlli TLLI_UNUSED := 'FFFFFFFF'O;
|
||||
|
|
Loading…
Reference in New Issue