From 21946e8f5dbc0c7128ac82991017ec6d4c99d0d1 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sat, 24 Mar 2018 20:10:30 +0100 Subject: cosmetic: gsm0808_test: drop extraneous assertion Recent commit I77cd4b9142510c6914298b720d9c19ab68f9ebef left an obsolete assertion around. It is already done in the if-body now. Change-Id: I1bb2ea363e8a9d86b24338df3584abc93ebc6dd4 --- tests/gsm0808/gsm0808_test.c | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/gsm0808') diff --git a/tests/gsm0808/gsm0808_test.c b/tests/gsm0808/gsm0808_test.c index 4bf61e78..9730be2d 100644 --- a/tests/gsm0808/gsm0808_test.c +++ b/tests/gsm0808/gsm0808_test.c @@ -1045,7 +1045,6 @@ static void test_gsm0808_enc_dec_cell_id_list_multi_global() printf("expect: %s\n", osmo_hexdump(cil_enc_expected, sizeof(cil_enc_expected))); OSMO_ASSERT(false); } - OSMO_ASSERT(memcmp(cil_enc_expected, msg->data, msg->len) == 0); rc_dec = gsm0808_dec_cell_id_list2(&dec_cil, msg->data + 2, msg->len - 2); OSMO_ASSERT(rc_dec == msg->len - 2); -- cgit v1.2.3