diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-11-08 10:35:41 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-11-12 14:22:46 +0000 |
commit | 9b7678d65cea1af91081253273c73e7279e27b6b (patch) | |
tree | b91d0e82c1c681ea33812973ec8cf4eb4b028f2f /src/osmo-bsc | |
parent | c9179fbcdd2f51a600a6ba1a43dc6ea9cd99e6ae (diff) |
cosmetic: reorder case list
the switch statement in fsm_send_assignment_complete() has the
default case at the beginning.
Move the default case to the end to match common coding style
rules
Change-Id: I360842fe899b95972c44da3cb74a3dc51b379fdc
Diffstat (limited to 'src/osmo-bsc')
-rw-r--r-- | src/osmo-bsc/osmo_bsc_mgcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bsc/osmo_bsc_mgcp.c b/src/osmo-bsc/osmo_bsc_mgcp.c index a7b6b4128..f4acc3960 100644 --- a/src/osmo-bsc/osmo_bsc_mgcp.c +++ b/src/osmo-bsc/osmo_bsc_mgcp.c @@ -575,11 +575,11 @@ static void fsm_send_assignment_complete(struct osmo_fsm_inst *fi, uint32_t even get_value_string(fsm_bsc_mgcp_state_names, fi->state), get_value_string(fsm_evt_names, event)); switch (event) { + case EV_CRCX_NET_RESP: + break; default: handle_error(mgcp_ctx, MGCP_ERR_UNEXP_TEARDOWN); return; - case EV_CRCX_NET_RESP: - break; } lchan = mgcp_ctx->lchan; |