Change in ...osmo-msc[master]: Fix: add missing semicolons to OSMO_ASSERT statements

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Wed Jul 10 14:06:36 UTC 2019


Vadim Yanitskiy has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-msc/+/14702 )

Change subject: Fix: add missing semicolons to OSMO_ASSERT statements
......................................................................

Fix: add missing semicolons to OSMO_ASSERT statements

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

Approvals:
  osmith: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  lynxis lazus: Looks good to me, approved
  Jenkins Builder: Verified



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/+/14702
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I4fae5fbab5fdbcce35906601d4f1031d971f4931
Gerrit-Change-Number: 14702
Gerrit-PatchSet: 2
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190710/6f7f89fa/attachment.html>


More information about the gerrit-log mailing list