[MERGED] libosmo-sccp[master]: ss7_test: Fix '=' that should have been '=='

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Apr 27 19:51:00 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: ss7_test: Fix '=' that should have been '=='
......................................................................


ss7_test: Fix '=' that should have been '=='

Change-Id: I1be4529c73992cb342a62aa19ba79be25e982620
Fixes: coverity CID#166944
---
M tests/ss7/ss7_test.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/tests/ss7/ss7_test.c b/tests/ss7/ss7_test.c
index e36e068..7c51767 100644
--- a/tests/ss7/ss7_test.c
+++ b/tests/ss7/ss7_test.c
@@ -32,7 +32,7 @@
 	OSMO_ASSERT(s7i->cfg.pc_fmt.component_len[0] == 3);
 	OSMO_ASSERT(s7i->cfg.pc_fmt.component_len[1] == 8);
 	OSMO_ASSERT(s7i->cfg.pc_fmt.component_len[2] == 3);
-	OSMO_ASSERT(s7i->cfg.pc_fmt.delimiter = '.');
+	OSMO_ASSERT(s7i->cfg.pc_fmt.delimiter == '.');
 }
 
 static void parse_print_mask(const char *in)

-- 
To view, visit https://gerrit.osmocom.org/2433
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1be4529c73992cb342a62aa19ba79be25e982620
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list