Change in osmo-bts[master]: cosmetic: Fix formatting of conditional operator

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

pespin gerrit-no-reply at lists.osmocom.org
Mon Sep 20 10:24:02 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/25510 )


Change subject: cosmetic: Fix formatting of conditional operator
......................................................................

cosmetic: Fix formatting of conditional operator

Change-Id: Ib0da405d1d9ed30bea97b433b7cf07b1084348ef
---
M src/common/nm_bb_transc_fsm.c
M src/common/nm_radio_carrier_fsm.c
2 files changed, 6 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/10/25510/1

diff --git a/src/common/nm_bb_transc_fsm.c b/src/common/nm_bb_transc_fsm.c
index 936451f..0e21a91 100644
--- a/src/common/nm_bb_transc_fsm.c
+++ b/src/common/nm_bb_transc_fsm.c
@@ -144,9 +144,9 @@
 		nm_bb_transc_fsm_state_chg(fi, NM_BBTRANSC_ST_OP_ENABLED);
 	} else {
 		LOGPFSML(fi, LOGL_INFO, "Delay switch to operative state Enabled, wait for:%s%s%s\n",
-			 rsl_link_connected ? "": " rsl",
-			 phy_state_connected ? "": " phy",
-			 bb_transc->mo.opstart_success ? "": " opstart");
+			 rsl_link_connected ? "" : " rsl",
+			 phy_state_connected ? "" : " phy",
+			 bb_transc->mo.opstart_success ? "" : " opstart");
 
 	}
 }
diff --git a/src/common/nm_radio_carrier_fsm.c b/src/common/nm_radio_carrier_fsm.c
index 4cbdf68..800cac2 100644
--- a/src/common/nm_radio_carrier_fsm.c
+++ b/src/common/nm_radio_carrier_fsm.c
@@ -135,9 +135,9 @@
 		nm_rcarrier_fsm_state_chg(fi, NM_RCARRIER_ST_OP_ENABLED);
 	} else {
 		LOGPFSML(fi, LOGL_INFO, "Delay switch to operative state Enabled, wait for:%s%s%s\n",
-			 rsl_link_connected ? "": " rsl",
-			 phy_state_connected ? "": " phy",
-			 trx->mo.opstart_success ? "": " opstart");
+			 rsl_link_connected ? "" : " rsl",
+			 phy_state_connected ? "" : " phy",
+			 trx->mo.opstart_success ? "" : " opstart");
 
 	}
 }

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ib0da405d1d9ed30bea97b433b7cf07b1084348ef
Gerrit-Change-Number: 25510
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210920/808bbcba/attachment.htm>


More information about the gerrit-log mailing list