aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-07-05 20:12:52 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-08 10:46:31 +0000
commiteebbec23a5b3717623229b257f86f1f23a6a18cb (patch)
treedc88133f774c667be33d7753795e44cddc768b66
parent698045d205ced40524338e26adc3ead42e9f636b (diff)
sccp_scoc: Fix compilation warning and leave a pragma message
Following warning was being printed: warning: statement will never be executed [-Wswitch-unreachable] The code in there seems not to be finished, so better leave the code and a pragma message to get notified when we compile. Change-Id: I4e2c482803954c984cb6792b11b4ea0fe674e269
-rw-r--r--src/sccp_scoc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sccp_scoc.c b/src/sccp_scoc.c
index 3a2cb47..3d43448 100644
--- a/src/sccp_scoc.c
+++ b/src/sccp_scoc.c
@@ -938,10 +938,10 @@ static void scoc_fsm_active(struct osmo_fsm_inst *fi, uint32_t event, void *data
struct osmo_scu_prim *prim = NULL;
switch (event) {
- /* TODO: internal disco */
+#pragma message ("TODO: internal disco: send N-DISCONNECT.ind to user")
/* send N-DISCONNECT.ind to user */
- scu_gen_encode_and_send(conn, event, xua, OSMO_SCU_PRIM_N_DISCONNECT,
- PRIM_OP_INDICATION);
+ /*scu_gen_encode_and_send(conn, event, xua, OSMO_SCU_PRIM_N_DISCONNECT,
+ PRIM_OP_INDICATION);*/
/* fall-through */
case SCOC_E_SCU_N_DISC_REQ:
prim = data;