Change in libosmocore[master]: cleanup: remove unused define

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

Max gerrit-no-reply at lists.osmocom.org
Wed Dec 12 12:58:33 UTC 2018


Max has uploaded this change for review. ( https://gerrit.osmocom.org/12272


Change subject: cleanup: remove unused define
......................................................................

cleanup: remove unused define

Change-Id: Ibff603dd581f60b600f2469ad464a0bf77e24bfe
---
M tests/gsm0808/gsm0808_test.c
1 file changed, 0 insertions(+), 13 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/72/12272/1

diff --git a/tests/gsm0808/gsm0808_test.c b/tests/gsm0808/gsm0808_test.c
index a31e7d4..23961c8 100644
--- a/tests/gsm0808/gsm0808_test.c
+++ b/tests/gsm0808/gsm0808_test.c
@@ -37,19 +37,6 @@
 		OSMO_ASSERT(rc_enc == msg->len); \
 	} while(0)
 
-#define VERIFY(msg, data, len) 						\
-	if (msgb_l3len(msg) != len) {					\
-		printf("%s:%d Length don't match: %d vs. %d. %s\n", 	\
-			__func__, __LINE__, msgb_l3len(msg), (int) len,	\
-			osmo_hexdump(msg->l3h, msgb_l3len(msg))); 	\
-		abort();						\
-	} else if (memcmp(msg->l3h, data, len) != 0) {			\
-		printf("%s:%d didn't match: got: %s\n",			\
-			__func__, __LINE__,				\
-			osmo_hexdump(msg->l3h, msgb_l3len(msg)));	\
-		abort();						\
-	}
-
 /* Setup a fake codec list for testing */
 static void setup_codec_list(struct gsm0808_speech_codec_list *scl)
 {

-- 
To view, visit https://gerrit.osmocom.org/12272
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibff603dd581f60b600f2469ad464a0bf77e24bfe
Gerrit-Change-Number: 12272
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181212/bd1b5af5/attachment.htm>


More information about the gerrit-log mailing list