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

fixeria gerrit-no-reply at lists.osmocom.org
Mon Jul 8 17:40:55 UTC 2019


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/14702


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

Fix: add missing commas to OSMO_ASSERT statements

Since I2272d29a81496164bebd1696a694383a28a86434, the OSMO_ASSERT
statement needs to be terminated with a coma. Let's fix this.

Change-Id: I4fae5fbab5fdbcce35906601d4f1031d971f4931
---
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/02/14702/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/+/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: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190708/7166d5f5/attachment.html>


More information about the gerrit-log mailing list