Change in osmo-pcu[master]: tbf: Drop unneeded braces in one line condition

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
Tue Oct 19 11:41:57 UTC 2021


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/25821 )

Change subject: tbf: Drop unneeded braces in one line condition
......................................................................

tbf: Drop unneeded braces in one line condition

Change-Id: Ief5e0ea0b7146d3330a17d5f0d171755b576fca3
---
M src/tbf.cpp
1 file changed, 1 insertion(+), 2 deletions(-)

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



diff --git a/src/tbf.cpp b/src/tbf.cpp
index 50940c8..07732dc 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -206,9 +206,8 @@
 	if (m_ms == ms)
 		return;
 
-	if (m_ms) {
+	if (m_ms)
 		ms_detach_tbf(m_ms, this);
-	}
 
 	m_ms = ms;
 

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ief5e0ea0b7146d3330a17d5f0d171755b576fca3
Gerrit-Change-Number: 25821
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211019/d6661b0e/attachment.htm>


More information about the gerrit-log mailing list