Harald Welte has submitted this change and it was merged. (
https://gerrit.osmocom.org/12696 )
Change subject: transaction.c: cosmetic: use 'default' branch in trans_free()
......................................................................
transaction.c: cosmetic: use 'default' branch in trans_free()
Change-Id: Ia28ba52b0ea4771843a2a1faa346f7357604b8aa
---
M src/libmsc/transaction.c
1 file changed, 4 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
Harald Welte: Looks good to me, approved
diff --git a/src/libmsc/transaction.c b/src/libmsc/transaction.c
index 17f8e96..70a39e8 100644
--- a/src/libmsc/transaction.c
+++ b/src/libmsc/transaction.c
@@ -138,7 +138,7 @@
*/
void trans_free(struct gsm_trans *trans)
{
- enum ran_conn_use conn_usage_token = RAN_CONN_USE_UNTRACKED;
+ enum ran_conn_use conn_usage_token;
struct ran_conn *conn;
switch (trans->protocol) {
@@ -154,6 +154,9 @@
_gsm911_nc_ss_trans_free(trans);
conn_usage_token = RAN_CONN_USE_TRANS_NC_SS;
break;
+ default:
+ conn_usage_token = RAN_CONN_USE_UNTRACKED;
+ break;
}
if (trans->paging_request) {
--
To view, visit https://gerrit.osmocom.org/12696
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia28ba52b0ea4771843a2a1faa346f7357604b8aa
Gerrit-Change-Number: 12696
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)