Change in osmo-pcu[master]: cosmetic: Add parenthesis around expression to clarify it

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 Nov 8 15:34:19 UTC 2021


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


Change subject: cosmetic: Add parenthesis around expression to clarify it
......................................................................

cosmetic: Add parenthesis around expression to clarify it

Change-Id: I621ef02868aff2bd23d82c8bc70e5cdbc391fbc2
---
M src/tbf.cpp
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/59/26159/1

diff --git a/src/tbf.cpp b/src/tbf.cpp
index 99d1018..0b02623 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -719,7 +719,7 @@
 
 const char *gprs_rlcmac_tbf::name() const
 {
-	int8_t tfi = m_tfi == TBF_TS_UNSET ? -1 : m_tfi;
+	int8_t tfi = (m_tfi == TBF_TS_UNSET) ? -1 : m_tfi;
 	snprintf(m_name_buf, sizeof(m_name_buf) - 1,
 		"TBF(TFI=%d TLLI=0x%08x DIR=%s STATE=%s%s)",
 		tfi, tlli(),

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I621ef02868aff2bd23d82c8bc70e5cdbc391fbc2
Gerrit-Change-Number: 26159
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/20211108/72ae53b3/attachment.htm>


More information about the gerrit-log mailing list