Change in osmo-bsc[master]: lchan_fsm: cosmetic: move a 'case' below the 'default' branch

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/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Nov 5 09:25:19 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/26118 )

Change subject: lchan_fsm: cosmetic: move a 'case' below the 'default' branch
......................................................................

lchan_fsm: cosmetic: move a 'case' below the 'default' branch

It's unusual to have 'case' statements below the 'default' statement.

Change-Id: I523a6d55d9a103ba69351d9dc6d0c000a422a765
---
M src/osmo-bsc/lchan_fsm.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  dexter: Looks good to me, approved



diff --git a/src/osmo-bsc/lchan_fsm.c b/src/osmo-bsc/lchan_fsm.c
index 2f62487..64840f0 100644
--- a/src/osmo-bsc/lchan_fsm.c
+++ b/src/osmo-bsc/lchan_fsm.c
@@ -806,8 +806,8 @@
 		act_type = lchan->conn->ho.async ? RSL_ACT_INTER_ASYNC : RSL_ACT_INTER_SYNC;
 		ho_ref = lchan->conn->ho.ho_ref;
 		break;
-	default:
 	case ACTIVATE_FOR_ASSIGNMENT:
+	default:
 		act_type = RSL_ACT_INTRA_NORM_ASS;
 		break;
 	}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/26118
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I523a6d55d9a103ba69351d9dc6d0c000a422a765
Gerrit-Change-Number: 26118
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211105/d852c36e/attachment.htm>


More information about the gerrit-log mailing list