aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libcommon/gsm_data.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-02-03 19:44:37 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-02-03 20:02:54 +0100
commitf02bb200c58f667067a55fd4e93d0225a069c493 (patch)
tree1a68e4da5d656b0cd5bd6f35cd7091e834a32a22 /openbsc/src/libcommon/gsm_data.c
parent1fe73a19cda4e0bdbfc932ae69c7b59f84103f59 (diff)
misc: gsm_data.c address compiler warning
Assume nothing special needs to be done for the Nokia *site hardware. GCC warning: gsm_data.c: In function ‘gsm_set_bts_type’: gsm_data.c:342:2: warning: enumeration value ‘GSM_BTS_TYPE_NOKIA_SITE’ not handled in switch [-Wswitch]
Diffstat (limited to 'openbsc/src/libcommon/gsm_data.c')
-rw-r--r--openbsc/src/libcommon/gsm_data.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/openbsc/src/libcommon/gsm_data.c b/openbsc/src/libcommon/gsm_data.c
index 832775823..4bad8b8d6 100644
--- a/openbsc/src/libcommon/gsm_data.c
+++ b/openbsc/src/libcommon/gsm_data.c
@@ -347,13 +347,14 @@ int gsm_set_bts_type(struct gsm_bts *bts, enum gsm_bts_type type)
bts->oml_tei = 0xff;
bts->c0->nominal_power = 23;
break;
- case GSM_BTS_TYPE_BS11:
- case GSM_BTS_TYPE_UNKNOWN:
- break;
case GSM_BTS_TYPE_RBS2000:
INIT_LLIST_HEAD(&bts->rbs2000.is.conn_groups);
INIT_LLIST_HEAD(&bts->rbs2000.con.conn_groups);
break;
+ case GSM_BTS_TYPE_BS11:
+ case GSM_BTS_TYPE_UNKNOWN:
+ case GSM_BTS_TYPE_NOKIA_SITE:
+ break;
}
return 0;