Change in osmo-msc[master]: transaction.c: cosmetic: use 'default' branch in trans_free()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Sat Jan 26 04:37:02 UTC 2019


Vadim Yanitskiy has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/96/12696/1

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: newchange
Gerrit-Change-Id: Ia28ba52b0ea4771843a2a1faa346f7357604b8aa
Gerrit-Change-Number: 12696
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190126/88893020/attachment.htm>


More information about the gerrit-log mailing list