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 <msur...@sysmocom.de>

Reply via email to