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
Mon Oct 18 14:44:21 UTC 2021


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



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

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-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211018/4280e6dc/attachment.htm>


More information about the gerrit-log mailing list