Change in ...osmo-msc[master]: add semi-color after OSMO_ASSERT

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Jul 9 23:39:17 UTC 2019


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/14711


Change subject: add semi-color after OSMO_ASSERT
......................................................................

add semi-color after OSMO_ASSERT

In preparation of changing the OSMO_ASSERT() to require a semicolon.

Change-Id: I42fca73393d14ebed973616b86fb87f89bdbf095
---
M src/libmsc/ran_peer.c
M tests/msc_vlr/msc_vlr_tests.c
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/11/14711/1

diff --git a/src/libmsc/ran_peer.c b/src/libmsc/ran_peer.c
index ce26794..77740a0 100644
--- a/src/libmsc/ran_peer.c
+++ b/src/libmsc/ran_peer.c
@@ -370,7 +370,7 @@
 
 	case RAN_PEER_EV_MSG_UP_CO_INITIAL:
 		ctx = data;
-		OSMO_ASSERT(ctx)
+		OSMO_ASSERT(ctx);
 		OSMO_ASSERT(!ctx->conn);
 		OSMO_ASSERT(ctx->msg);
 
diff --git a/tests/msc_vlr/msc_vlr_tests.c b/tests/msc_vlr/msc_vlr_tests.c
index 488cd19..35401ba 100644
--- a/tests/msc_vlr/msc_vlr_tests.c
+++ b/tests/msc_vlr/msc_vlr_tests.c
@@ -171,7 +171,7 @@
 	count = osmo_use_count_by(&msc_a->use_count, cm_service_use);
 	OSMO_ASSERT(count > 0);
 
-	OSMO_ASSERT(osmo_use_count_get_put(&msc_a->use_count, cm_service_use, -count) == 0)
+	OSMO_ASSERT(osmo_use_count_get_put(&msc_a->use_count, cm_service_use, -count) == 0);
 
 	ASSERT_RELEASE_CLEAR(msc_a->c.ran->type);
 }

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

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I42fca73393d14ebed973616b86fb87f89bdbf095
Gerrit-Change-Number: 14711
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190709/cb82fd36/attachment.html>


More information about the gerrit-log mailing list