commit | 09e364b167c8f999ea2d0145ea4d5483c2155390 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Aug 10 07:59:27 2009 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Aug 10 08:26:12 2009 +0200 |
tree | fe2775107cf60ccfcb22e51076076bd078ced1be | |
parent | 1ddb356912a8d874d25426ba779cc792189bc798 [diff] [blame] |
misc: Fix warnings about returning with value... return rc in these cases.
diff --git a/openbsc/src/gsm_04_11.c b/openbsc/src/gsm_04_11.c index f31e3f8..9b3f44e 100644 --- a/openbsc/src/gsm_04_11.c +++ b/openbsc/src/gsm_04_11.c
@@ -678,6 +678,8 @@ trans->sms.cp_state = GSM411_CPS_IDLE; trans_free(trans); } + + return rc; } static int gsm411_tx_cp_error(struct gsm_trans *trans, u_int8_t cause)